Distopico Vegan 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
..
elisp 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
test 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Browse.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Cabal.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
CabalApi.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
CabalDev.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Check.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
ErrMsg.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Flag.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
GHCApi.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
GHCChoice.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
GHCMod.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Gap.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Info.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
LICENSE 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Lang.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Lint.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
List.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
README 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Setup.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
Types.hs 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos
ghc-mod.cabal 29f07a51d8 rename modes for custom-packages %!s(int64=10) %!d(string=hai) anos

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


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/