Go to file
Kazu Yamamoto 8dc1e1094f putting date. 2013-05-21 10:10:40 +09:00
Language/Haskell writing docs. 2013-05-20 14:28:56 +09:00
elisp Fix package name in ghc-pkg.el 2013-05-20 15:40:01 +02:00
src writing docs. 2013-05-20 14:28:56 +09:00
test writing docs. 2013-05-20 14:28:56 +09:00
.ghci .ghci for ghci-friendliness (testing) 2012-01-22 20:16:22 -08:00
.gitignore add ignore entry 2012-09-27 14:32:41 -10:00
.travis.yml adding .travis.yml. 2013-02-12 14:04:32 +09:00
ChangeLog putting date. 2013-05-21 10:10:40 +09:00
LICENSE adding README and LICENSE. 2010-03-10 12:13:03 +09:00
README Updateing README. 2013-03-03 15:55:22 +09:00
Setup.hs adding Setup.hs. 2010-04-03 00:16:22 +09:00
ghc-mod.cabal Changing GHCMod as a library. 2013-05-17 10:00:01 +09:00
hcar-ghc-mod.tex hcar update. 2013-05-06 08:04:13 +09:00

README

		Happy Haskell programming on Emacs/Vim

For Vim users: see https://github.com/eagletmt/ghcmod-vim

For Emacs users: read the followings:

Features:

1) Completions of keyword, module, class, function, types,
   language extensions, etc.
2) Flymake with GHC and hlint
3) Inserting code template

The "ghc-mod" program written in Haskell is a backend to gather
information from GHC and hlint.

Elisp libraries including ghc-mod is an extension to haskell-mode.
You should put the followings in your "~/.emacs.el":

    (autoload 'ghc-init "ghc" nil t)
    (add-hook 'haskell-mode-hook (lambda () (ghc-init)))

or

    (add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))

Customization:

An example to specify GHC options:

    (setq ghc-ghc-options '("-idir1" "-idir2"))

An example to specify HLint options:

    (setq ghc-hlint-options '("--ignore=Use camelCase"))


For more information, see:
	http://www.mew.org/~kazu/proj/ghc-mod/