Go to file
2011-11-02 02:43:02 -07:00
elisp Merge branch 'master' into ghc_option 2011-11-02 17:20:43 +09:00
.gitignore Silly tweak to .gitignore. 2011-10-23 02:01:52 -07:00
Browse.hs adding options: --package-conf and --no-user-package-conf 2011-05-28 06:06:13 +09:00
Cabal.hs adding dir for doesFileExist. 2011-10-19 14:22:28 +09:00
CabalDev.hs cosmetic change. 2011-11-02 10:43:34 +09:00
Check.hs Merge branch 'master' into ghc_option 2011-11-02 17:20:43 +09:00
ErrMsg.hs ErrMsg module. 2011-08-24 16:50:26 +09:00
ghc-mod.cabal 'check' command now supports cabal-dev. 2011-11-01 15:06:53 -07:00
GHCMod.hs Update help message. 2011-11-02 17:44:29 +09:00
Info.hs Supporting GHC 7.2.1! 2011-08-24 15:58:12 +09:00
Lang.hs Supporting GHC7 (Krzysztof Skrzętnicki). 2010-11-17 12:27:23 +09:00
LICENSE adding README and LICENSE. 2010-03-10 12:13:03 +09:00
Lint.hs Supporting GHC 7.2.1! 2011-08-24 15:58:12 +09:00
List.hs adding options: --package-conf and --no-user-package-conf 2011-05-28 06:06:13 +09:00
README Update README about broken compatibility. 2011-11-02 17:17:42 +09:00
Setup.hs adding Setup.hs. 2010-04-03 00:16:22 +09:00
Types.hs Remove check includes option of ghc-mod check command. Now, we can pass all ghc options to ghc-mod check. 2011-11-02 16:23:19 +09:00

		  Happy Haskell programming on Emacs

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)))


Changes:

  If you have customized GHC import-path like follows,

    (setq ghc-flymake-check-includes '("dir1" "dir2"))

  You may update your settings as follows.

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

    or

    (setq ghc-ghc-options '("-idir1:dir2"))

  Now, you can simply pass GHC options to ghc-mod check command.


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