Code to solve the Advent of Code puzzles. This year, I'm trying to use the puzzles as a prompt to learn Haskell.
Learn you a Haskell, Introduction to Haskell 98, and Hackage are good resources.
I'm using the basic Haskell Platform installation (install with
$ sudo aptitude install haskell-platform
).
I'm also using the MissingH
and Parsec-number
libraries (install with
$ cabal install MissingH
$ cabal install parsec-number
)
Compile the code with
ghc --make advent01.hs
then run it as
advent01
Build this readme file wth
pandoc -s README.md > README.html
(Using the Modest styles.)