[added installation and hs-lint with hs-scan chr.maeder@web.de**20100414132726 Ignore-this: 11911be66d8640202bc65d88db83a4cb ] hunk ./doc/index.html 28 +

Installation

+scan can be +installed locally by: + +
+cabal update
+cabal install scan
+
+ +The binary scan will be installed into the +directory ~/.cabal/bin that you should add to your search path. (Under +unix with a bash shell you would add export + PATH=~/.cabal/bin:$PATH to your file ~/.bashrc.) + hunk ./doc/index.html 76 -hs-lint.el +hs-lint.el hunk ./doc/index.html 92 +hs-scan.el can be added in the same way as +hs-lint.el, +and both files can be added together: + +
+(load-file "~/emacs-modes/hs-scan.el")
+(load-file "~/emacs-modes/hs-lint.el")
+(defun my-haskell-mode-hook ()
+ (global-set-key [f6] 'hs-lint)
+ (global-set-key [f7] 'hs-scan))
+
+