For my first ever time participating in the yearly Advent of Code, I decided to use Haskell for all of my solutions!
For all of these problems, I used GHC 8.10.2
and Cabal 3.2.0.0
installed globally with ghcup
.
First, all solutions must be built, using cabal build
.
All solutions expect input on stdin
. Call them like so: cabal exec dayX-partY < inputs/dayX > output
to obtain the output in a file.