ghc-mod install
memo
- cabal update
- cabal install happy --global
- cabal install ghc-mod --global
ぐぅ、このやり方嫌いなんだけど、どーにかしたい。
;; ghc-mod (cond ((eq window-system 'w32) (setq ghc-module-command "C:/Program Files (x86)/Haskell/bin")) ((or (eq window-system 'ns) (eq window-system 'mac)) (setq ghc-module-command "~/Library/Haskell/bin/ghc-mod"))) (autoload 'ghc-init "ghc" nil t) (add-hook 'haskell-mode-hook (lambda () (ghc-init)))