These are my solutions to http://adventofcode.com
All solutions are written in Haskell.
In general, all solutions can be invoked in both of the following ways:
- Without command-line arguments, takes input on standard input.
- With 1+ command-line arguments, reads input from the first, which must be the path to an input file. Arguments beyond the first are ignored.
Some may additionally support other ways:
None yet.
None yet.
As of 2019, building Haskell packages on my development machine is (mostly) broken, so I was forced to implement the following days without packages, when I otherwise would have preferred to use packages:
None yet.
Sequences are good, but for Advent of Code problems usually you can find a faster array-based solution.