我想使用cabal repl代替ghci(我的目标是能够在我的项目中使用其他模块)。
我的设置使用此:
(setq haskell-program-name "cabal repl")
(setq haskell-ghci-program-name "cabal repl")
(custom-set-variables
;; ...
'(haskell-process-type 'cabal-repl)
;; ...
)
关于ghc和cabal,并且运行正常(当前ghc-mod和emacs 24.3.1)
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句