Solutions to advent of code exercises.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
benchmark
dist/resources
docs
src
test
.gitignore
.travis.yml
LICENSE
Makefile
README.md
Setup.hs
adventofcode.cabal
stack.yaml

README.md

adventofcode Build Status

Solutions to advent of code exercises.

Usage

First, install stack.

Run the test suite to confirm the code conforms to the problem set examples:

stack 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):

stack install
adventofcode 2015 1 dist/resources/2015/day1

Alternatively, you can build the source and run Main.sh standalone against problem set input:

stack build
stack runhaskell app/Main.sh 2015 1 dist/resources/2015/day1