my answers in Haskell 
This project builds with The Haskell Cabal.
Setup:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
cabal configure --enable-tests
Run the Hspec test suite:
cabal test aoc2022-test
Run criterion benchmarks (results online):
cabal bench aoc2022-bench
Print solutions for the inputs provided in local data files:
cabal run aoc2022-exe
Generate Haddock API documentation:
stack haddock aoc2021:lib
Run hlint source code suggestions:
stack build hlint --exec 'hlint src test bench'