Tutorials
- Real World Haskell
- Happy Learn Haskell Tutorial
- Learn You a Haskell for Great Good!
- H-99: Ninety-Nine Haskell Problems
- Haskell Fast & Hard
- School of Haskell
HSoM
Tasks:
https://github.com/Caroisawesome/HSoM
Haskell on Linux
Recommended way to install ghc:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
Debian/Ubuntu may use apt, but the version may be outdated:
sudo apt install ghc # NOT SO RECOMMENDED
Haskell on Windows
- Download and install as any other program.
Create a Makefile:
hello: hello.hs ghc -o hello hello.hsRun
M-x compile make hellofrom within EmacsRun
hello.exefrom CMD, MSYS2, or MINGW64 (or any other) shell prompt.
Why not compile from the command line?
- Windows CMD problem: no make
- MSYS2/MINGW64 problem: no ghci