my answers in Haskell 
This project builds with The Haskell Cabal.
Setup:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup install cabal latest
ghcup install ghc 9.4.7
cabal configure --with-compiler ghc-9.4 --enable-testsRun the Hspec test suite:
cabal test test:aoc2023-testRun criterion benchmarks (results online):
cabal bench bench:aoc2023-benchPrint solutions for the inputs provided in local data files:
cabal run exe:aoc2023Generate Haddock API documentation:
cabal haddock lib:aoc2023Run hlint source code suggestions:
cabal install hlint
hlint src test bench