Solutions to Advent of Code 2022.
To run the solution for Day 1, execute
stack run 1
stack test
stack test --ta '-p "Day 24"'
Set the env var ADVENT_SESSION_COOKIE
to your cookie for adventofcode.com
. Then execute
export ADVENT_SESSION_COOKIE=session=abcd
./bin/download_input.sh 1
to download the input for Day 1.