ghc-mod/README.md

27 lines
1.0 KiB
Markdown
Raw Normal View History

2013-05-22 03:04:05 +00:00
# Happy Haskell Programming
2014-01-08 07:19:53 +00:00
[![Build Status](https://travis-ci.org/kazu-yamamoto/ghc-mod.png)](https://travis-ci.org/kazu-yamamoto/ghc-mod)
2013-05-22 03:04:05 +00:00
Please read: [http://www.mew.org/~kazu/proj/ghc-mod/](http://www.mew.org/~kazu/proj/ghc-mod/)
2013-05-22 03:04:05 +00:00
2014-05-19 07:42:34 +00:00
## Using the stable version
2014-05-19 07:25:38 +00:00
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)
```
2014-05-19 07:35:38 +00:00
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:
2014-05-19 07:25:38 +00:00
```shell
% cabal update
% cabal install ghc-mod
```
2014-05-19 07:35:38 +00:00
## Using the develop version
You should install both Emacs front-end and binaries from this git repo. If you use the snapshot MELPA to install Emacs front-end, you would suffer from inconsistency between Emacs front-end and binaries.