improving README.

This commit is contained in:
Kazu Yamamoto 2010-03-12 13:42:42 +09:00
parent 793c999cd8
commit 623fb01821

14
README
View File

@ -1,12 +1,20 @@
Haskell Completion on Emacs
This package enables many completions for Haskell programming in Haskell.
Flymake is also integrated.
The "ghc-mod" program written in Haskell is a backend to gather
completion information of Haskell modules with GHC.
information from GHC.
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)))
(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/