Utilities for Advent of Code puzzles for solutions written in Haskell.
- Install Stack
- Fork and checkout this repository
- Run
stack build
in this project directory
- Log in to Advent of Code
- Copy
session
HTTP cookie value to.session
file in this project directory - Go to
[year]/[day]/Main.hs
directory - Add test cases to
testCases
list - Implement
solution
function - Run
stack run [year]-[day]
- it will print you if test cases pass- if they pass it will print the solution for the puzzle for your specific puzzle input
- if any fails it will print the first test case that fails