6abd8a3eaa0af68d97aef43ecee455d3f9b8a8ca
The public name of this package is "ghc", based on the package names on both Marmalade and Melpa, and on the name of the ghc-pkg.el file. This commit fixes the contents of the -pkg.el file so that the name specified therein matches the external package name.
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/
Description
Languages
Haskell
77.9%
Emacs Lisp
13.6%
Cabal Config
5.7%
Shell
2.2%
TeX
0.3%
Other
0.3%