From b7849a896a34fb3e14464c4251ec04110567374c Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Wed, 22 May 2013 12:04:05 +0900 Subject: [PATCH] simplify explanation. --- README | 39 --------------------------------------- REAME.md | 5 +++++ 2 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 README create mode 100644 REAME.md diff --git a/README b/README deleted file mode 100644 index 8428aa7..0000000 --- a/README +++ /dev/null @@ -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/ diff --git a/REAME.md b/REAME.md new file mode 100644 index 0000000..36ab9a4 --- /dev/null +++ b/REAME.md @@ -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/)