my answers in Haskell ![Haskell CI](https://github.com/ephemient/aoc2023/workflows/Haskell%20CI/badge.svg)
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-tests
Run the Hspec test suite:
cabal test test:aoc2023-test
Run criterion benchmarks (results online):
cabal bench bench:aoc2023-bench
Print solutions for the inputs provided in local data files:
cabal run exe:aoc2023
Generate Haddock API documentation:
cabal haddock lib:aoc2023
Run hlint source code suggestions:
cabal install hlint
hlint src test bench