
18 Mar
2014
18 Mar
'14
11:49 a.m.
On 18/03/14 11:53, Miguel Negrão wrote:
Hi
Can anyone tell me how switch from using ghci to cabal repl in emacs with ghc-mod ? I would like to use emacs with cabal projects with sandboxes, where ghci will not load the right packages.
best,
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
Personally I evaluate (setq haskell-program-name "cabal repl") . Make sure you are in the same directory as the cabal file when you first start up the REPL. If you get complaints about not being able to find prompt, check the *haskell* buffer that gets created in the background to see what's going wrong. -- Mateusz K.