Solutions to https://adventofcode.com.
- Get ghcup
- Install
ghc
ghcup install ghc 9.2.5
- Install
cabal-install
ghcup install cabal
- (Optional) Install ghcid and doctest
cabal install ghcid && cabal install doctest
cabal repl
ghcid
This will reload the interpreter and run doctests on every file save. Requires both ghcid and doctest to be on your PATH
.