Installing "ghc-mod"

This page assumes that you are a Haskell programmer and you know the "cabal" command well.

Installing the ghc-mod package

First of all, update Cabal's database:

% cabal update

Now install "ghc-mod":

% cabal install ghc-mod

This command installs the followings:

The ghc-mod commnad
The ghc-modi commnad
The ghc-mod library
Elisp files to extend Haskell mode