ghc-mod/README

21 lines
586 B
Plaintext
Raw Normal View History

2010-03-10 03:13:03 +00:00
Haskell Completion on Emacs
This package enables many completions for Haskell programming in Haskell.
2010-03-12 04:42:42 +00:00
Flymake is also integrated.
2010-03-10 03:13:03 +00:00
The "ghc-mod" program written in Haskell is a backend to gather
2010-03-12 04:42:42 +00:00
information from GHC.
2010-03-10 03:13:03 +00:00
Elisp libraries including ghc-mod is an extension to haskell-mode.
You should put the followings in your "~/.emacs.el":
2010-03-12 04:42:42 +00:00
(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)))
For more information, see:
http://www.mew.org/~kazu/proj/ghc-mod/