To get started you need to have Haskell compiler to be installed, as well as some IDE support.
In this course we will use stack - a Haskell build tool that also takes care of installing GHC (Haskell compiler) and package management.
We will also use Atom as an IDE with some Haskell-related plugins.
- Create
~/.local/bin
and add it to yourPATH
. - Install stack:
curl -sSL https://get.haskellstack.org/ | sh
orbrew install haskell-stack
- Watch if there were any warnings about
PATH
- [Optional] Run
stack setup
andstack ghci
to verify that you can run Haskell on your machine.
- Install Atom (click and follow the instructions)
- Install useful plugins:
apm install file-icons linter
- Install Haskell dev tools:
stack install ghc-mod hindent hlint stylish-haskell hasktags
. - Verify installation:
ghc-mod --version
. - Install
Atom
packages for Haskell:
apm install ide-haskell language-haskell haskell-ghc-mod linter-hlint autocomplete-haskell ide-haskell-hasktags
.