Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.06 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.06 KB

my answers in Haskell Haskell CI

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