apt install haskell-platform
cabal update
cabal install HGL doctest
echo "export PATH="$HOME/.cabal/bin:$PATH" >> ~/.bashrc
To see if it worked:
./compile chapters/chapter3_main.hs
./chapters/chapter3_main
doctest chapters/chapter7.hs
| Name | Name | Last commit date | ||
|---|---|---|---|---|