This commit is contained in:
Kazu Yamamoto 2014-05-19 16:25:38 +09:00
parent 3b3dcbc6e5
commit 6f9fbc6e02
1 changed files with 15 additions and 1 deletions

View File

@ -3,4 +3,18 @@
Please read: [http://www.mew.org/~kazu/proj/ghc-mod/](http://www.mew.org/~kazu/proj/ghc-mod/)
Latest ELisp front-end can also be installed via [MELPA](http://melpa.milkbox.net/). The package name is "ghc". But it appeared that if you use MELPA, inconsistency between Emacs front-end and ghc-mod/ghc-modi happens. So, please use github directly.
Emacs front-end, which is consistent with binaries on Hackage, is available *stable* MELPA whose URL is http://melpa-stable.milkbox.net/packages/. So, your "~/.emacs" should be:
```elisp
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa-stable.milkbox.net/packages/"))
(package-initialize)
```
With this configuration you can install the stable Emacs front end indicated by "ghc" from MELPA while you can install ghc-mod/ghc-modi binaries by:
```shell
% cabal update
% cabal install ghc-mod
```