Haskell

Haskell
Login

Haskell

Tutorials

HSoM

Haskell School of Music

Tasks:

https://github.com/Caroisawesome/HSoM

http://euterpea.com/

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

  1. Download and install as any other program.
  2. Create a Makefile:

    hello: hello.hs
    	ghc -o hello hello.hs
    
  3. Run M-x compile make hello from within Emacs

  4. Run hello.exe from CMD, MSYS2, or MINGW64 (or any other) shell prompt.

Why not compile from the command line?