my answers in Haskell 
This project builds with The Haskell Tool Stack.
Setup:
curl -sSL https://get.haskellstack.org/ | sh -s -
stack setupRun the Hspec test suite:
stack test aoc2021:test:aoc2021-testRun criterion benchmarks (results online):
stack bench aoc2021:bench:aoc2021-benchPrint solutions for the inputs provided in local data files:
stack build aoc2021:exe:aoc2021-exe --exec aoc2021-exeGenerate Haddock API documentation:
stack haddock aoc2021:libRun hlint source code suggestions:
stack build hlint --exec 'hlint src test bench'