Go to file
Daniel Gröber 744f2c232c Update cabal meta data 2015-03-28 19:13:51 +01:00
Language/Haskell Cleanup and some fixes 2015-03-28 19:13:48 +01:00
NotCPP Bring test suite up to date 2015-03-05 17:35:28 +01:00
doc adding docs in the piki format. 2014-11-19 09:07:34 +09:00
elisp Re-add output line separator global option for expand command. 2015-03-05 17:45:48 +01:00
scripts Add bump.sh script to master branch too 2014-12-31 22:57:53 +01:00
src Cleanup and some fixes 2015-03-28 19:13:48 +01:00
test Cleanup and some fixes 2015-03-28 19:13:48 +01:00
test-elisp adding test cases for elisp. 2014-04-23 14:51:02 +09:00
.ghci .ghci for ghci-friendliness (testing) 2012-01-22 20:16:22 -08:00
.gitignore Update .gitignore 2015-03-05 17:35:28 +01:00
.travis.yml Fix travis-ci 2015-03-10 23:57:28 +01:00
COPYING.AGPL3 Change primary license to AGPL-3 2015-03-03 21:09:18 +01:00
COPYING.BSD3 Change primary license to AGPL-3 2015-03-03 21:09:18 +01:00
CodingStyle adding CodingStyle. 2014-08-12 15:00:56 +09:00
LICENSE Add back LICENSE file pointing to COPYING.* 2015-03-05 17:35:29 +01:00
README.md Update README 2015-03-05 17:35:28 +01:00
Setup.hs Remove Cabal version sanity check from Setup.hs 2015-03-05 19:47:40 +01:00
SetupCompat.hs Cleanup errors and logging a bit 2015-03-05 17:35:28 +01:00
Utils.hs Implement better caching for target options 2015-03-28 02:32:44 +01:00
ghc-mod.cabal Update cabal meta data 2015-03-28 19:13:51 +01:00
hcar-ghc-mod.tex hcar 2014-10-08 16:30:23 +02:00

README.md

Happy Haskell Programming

Build Status

Please read: http://www.mew.org/~kazu/proj/ghc-mod/

Using the stable version

The Emacs front-end is available from stable MELPA. This package should always be compatible with the latest version of ghc-mod from hackage.

To use stable stable MELPA add this to your .emacs:

(require 'package)
(add-to-list 'package-archives
	     '("melpa" . "http://melpa-stable.milkbox.net/packages/"))
(package-initialize)

With this configuration you can install the Emacs front end from MELPA (the package is called ghc there, not ghc-mod) and install the ghc-mod/ghc-modi binaries from hackage by doing:

% cabal update && cabal install ghc-mod

Nix & NixOS

The installation is a little more involved in this environment as Nix needs some ugly hacks to get packages using the GHC API to work, please refer to this stackoverflow answer:

http://stackoverflow.com/a/24228830

Using the development version

The easiest way to hack on ghc-mod is compile it, then add dist/build/ghc-mod and dist/build/ghc-modi to your PATH and add the elisp/ directory to your Emacs load-path.

Make sure you're not using the MELPA version of ghc.el otherwise you might get all sorts of nasty conflicts.

IRC

If you have any problems, suggestions, comments swing by #ghc-mod on Freenode.

Do hang around for a while if no one answers and repeat your question if you still haven't gotten any answer after a day or so.