Go to file
Kazu Yamamoto b78b3bb28d Merge pull request #40 from eagletmt/fix-syntax-error
fix syntax error when __GLASGOW_HASKELL__ >= 702
2012-02-08 22:49:03 -08:00
elisp elisp's ver. 2012-02-08 18:34:07 +09:00
.ghci .ghci for ghci-friendliness (testing) 2012-01-22 20:16:22 -08:00
.gitignore Added support for auto-completing option flags and pragmas 2012-01-22 20:18:40 -08:00
Browse.hs adding options: --package-conf and --no-user-package-conf 2011-05-28 06:06:13 +09:00
Cabal.hs general parsing for *.cabal! 2012-02-06 18:07:32 +09:00
CabalDev.hs hlint hack. 2012-02-08 16:11:36 +09:00
Check.hs hlint hack. 2012-02-08 16:11:36 +09:00
ErrMsg.hs fix syntax error when __GLASGOW_HASKELL__ >= 702 2012-02-09 15:28:59 +09:00
Flag.hs hlint hack. 2012-02-08 16:11:36 +09:00
ghc-mod.cabal ver bumps up. 2012-02-08 18:33:10 +09:00
GHCMod.hs Applicative hack. 2012-01-23 18:30:07 +09:00
Info.hs Add support for GHC 7.4.1 2011-12-24 19:01:37 -06: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 Changes in README. 2011-11-16 22:34:38 +09:00
Setup.hs adding Setup.hs. 2010-04-03 00:16:22 +09:00
Types.hs Expire unreferenced switches. 2011-11-14 19:28:34 +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 sub-commands.


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