Solutions to Advent of Code exercises.
I'm using nix flakes to handle dependencies now, so install the requisite software to make sure that nix flake
works for you.
Optionally, I recommend direnv as well to make the process even easier.
Clone this repository, enter the directory, and
$ direnv allow
Or, if you like living as a caveman:
$ nix develop
You'll have a bit of setup happen. Once that's done, the dev environment should be functional with all dependencies present.
Run the test suite to confirm the code conforms to the problem set examples:
make test
If everything looks good, go ahead and either install the solver binary and run it against problem input (in my case, I've committed my problem input, so I can do this):
cabal run adventofcode -- 2015 1 dist/resources/2015/day1