Skip to content

tylerjl/aoc-hs

Repository files navigation

aoc-hs Build Status

Solutions to Advent of Code exercises.

Setup

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.

Usage

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

About

Solutions to advent of code exercises in Haskell.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages