Go to file
Kazu Yamamoto 2c870867c1 Merge pull request #45 from himura/fix-buffer-name
Fixed the conflicts with the package which modify (buffer-name) value.
2012-02-14 17:55:26 -08:00
elisp Fixed the conflicts with the package which modify (buffer-name) value. 2012-02-14 22:27:48 +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 Adaptor layer for GHC API. 2012-02-14 16:09:53 +09:00
Cabal.hs extract Extensions: and Default-Language: from a Cabal file. 2012-02-14 18:25:21 +09:00
CabalDev.hs Removing the anti-pattern: IO (Maybe a). 2012-02-14 18:37:45 +09:00
Check.hs extract Extensions: and Default-Language: from a Cabal file. 2012-02-14 18:25:21 +09:00
ErrMsg.hs Adaptor layer for GHC API. 2012-02-14 16:09:53 +09:00
Flag.hs Adaptor layer for GHC API. 2012-02-14 16:09:53 +09:00
Gap.hs Adaptor layer for GHC API. 2012-02-14 16:09:53 +09:00
ghc-mod.cabal Merge remote-tracking branch 'eagletmt/ghc-syb-utils' 2012-02-14 16:16:26 +09:00
GHCApi.hs cleanup temporaries 2012-02-14 19:14:21 +09:00
GHCMod.hs display types simply unless "-l" option is given 2012-02-13 20:31:36 +09:00
Info.hs cosmetic change. 2012-02-14 16:19:48 +09: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 Adaptor layer for GHC API. 2012-02-14 16:09:53 +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 Adaptor layer for GHC API. 2012-02-14 16:09:53 +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/