Go to file
2013-02-18 13:49:12 +09:00
elisp Fix 'ghc-show-info' when cursor is on space 2012-11-30 09:48:45 +09:00
test removing unnecessary files. 2013-02-15 10:39:40 +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
Browse.hs Removing -fno-warn-unused-do-bind. 2012-08-06 09:43:47 +09:00
Cabal.hs test for Cabal where exec depends on its lib and its fix code. 2013-02-13 15:29:24 +09:00
CabalApi.hs hlint hack. 2013-02-12 14:21:48 +09:00
CabalDev.hs refactoring. 2013-02-18 13:49:12 +09:00
Check.hs hlint hack. 2013-02-12 14:21:48 +09:00
ErrMsg.hs Fixing fly-make warning recognition when ghc-mod compiled against GHC 7.6 2012-10-19 23:19:37 +04:00
Flag.hs Adaptor layer for GHC API. 2012-02-14 16:09:53 +09:00
Gap.hs "Warning: "(a space after :) for GHC 7.6. 2013-02-13 16:04:22 +09:00
ghc-mod.cabal ver bumps up. 2013-02-15 10:47:56 +09:00
GHCApi.hs "Dummy:0:0" -> "<filename>:0:0". 2012-12-07 14:27:02 +09:00
GHCChoice.hs Using io-choice. 2012-02-16 14:44:20 +09:00
GHCMod.hs refactoring. 2013-02-18 13:48:57 +09:00
Info.hs GHC 7.6.1 compatibility 2012-10-16 03:27:35 -07:00
Lang.hs Adaptor layer for GHC API. 2012-02-14 16:09:53 +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 Removing -fno-warn-unused-do-bind. 2012-08-06 09:43:47 +09:00
README adding Vim 2012-02-16 17:44:44 +09:00
Setup.hs adding Setup.hs. 2010-04-03 00:16:22 +09:00
Types.hs Add option to specify cabal-dev sandbox explicitly. 2012-04-09 21:27:03 +01:00

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


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/