Solutions to exercises in haskell book
, a fantastic resource for learning Haskell from scratch.
The project is built using stack
a tool used to build Haskell projects and manage dependencies. Check out https://docs.haskellstack.org/en/stable/README/ for information on downloading stack
. (there's also a great video tutorial here to get haskell up and running with stack).
After stack
and ghc
have been installed
- clone the repo, cd into the directory
- run
stack build
, this will install all the dependencies (can take a while) - run
stack ghci
to enter aghci
repl session - to load a particular module in
ghci
run:l /path/to/the/module.hs
- you can then try out the functions by typing them into the repl