git clone 'git://'


Note: you probably want to use flycheck instead.

An Emacs flymake handler for checking Haskell source code with both ghc and hlint. If ghc -Wall -fno-code returns no errors, hlint is run (if available). Warnings and errors output by both programs will be displayed via flymake overlays in the source code.

This works via a small shell script, haskell_multi, which is bundled.

For a demonstration, see this screencast.


If you choose not to use one of the convenient packages in Melpa and Marmalade, you'll need to add the directory containing flymake-haskell-multi.el and the haskell_multi script to your load-path, and then (require 'flymake-haskell-multi). You'll also need to install flymake-easy.

You should also install hlint and ensure it is on your exec-path.


Add the following to your emacs init file:

(require 'flymake-haskell-multi) ;; not needed if installed via package
(add-hook 'haskell-mode-hook 'flymake-haskell-multi-load)

Steve Purcell's blog // @sanityinc on Twitter