Advent of Code 2023 solutions in Haskell (on GHC 9.8.1). Ideally I want to minimise the total dependencies.
cabal test
: Runs some test cases on the examples given in the day's question (and some extra if necessary). Set the environment variableCONTINUOUS
to any value to run all tests instead of accepting from stdin.cabal run
: Runs the solution on some actual input. Supply input files in theinput
directory nameddayN.txt
whereN
is the respective day number (1-25, no leading or trailing zeroes, andday
and the extensiontxt
are in lowercase).
This assumes the default set of libraries from GHC 9.8.1 (along with GHC 9.8.1 itself and Cabal 3.10.2.0) are installed globally.
parsec
(3.1.17.0 or possibly later)
hspec
(2.11.7 or possibly later)