simplify explanation.

This commit is contained in:
Kazu Yamamoto 2013-05-22 12:04:05 +09:00
parent e0feb9c075
commit b7849a896a
2 changed files with 5 additions and 39 deletions

39
README
View File

@ -1,39 +0,0 @@
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)))
Customization:
An example to specify GHC options:
(setq ghc-ghc-options '("-idir1" "-idir2"))
An example to specify HLint options:
(setq ghc-hlint-options '("--ignore=Use camelCase"))
For more information, see:
http://www.mew.org/~kazu/proj/ghc-mod/

5
REAME.md Normal file
View File

@ -0,0 +1,5 @@
# Happy Haskell Programming
Please read: [http://www.mew.org/~kazu/proj/ghc-mod/](http://www.mew.org/~kazu/proj/ghc-mod/)
Latest ELisp files can also be installed via [MELPA](http://melpa.milkbox.net/)