Skip to content

Latest commit

 

History

History

02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Day 2

Part 1

Spent some time reading up on how to define a custom instance of Read. Pretty simple otherwise. Surprised countElem isn't in Prelude.

Part 2

Off-by-one errors were called out in the puzzle but I still made them. Solution can be simplified if I don't need to check for out-of-bounds issues. I did this.