Re: [Haskell-cafe] Cabal and GHCi

2008-10-27 Thread Don Stewart
reiner.pope: Hi, Is there a way to use GHCi with code which is cabal-buildable but not ghc --make-able? The emacs haskell-mode makes a pretty good guess by :cd-ing into the directory with the .cabal file; however, if there is a different source-dir this doesn't work so well.

Re: [Haskell-cafe] Cabal and GHCi

2008-10-27 Thread Reiner Pope
On Tue, Oct 28, 2008 at 2:23 PM, Don Stewart [EMAIL PROTECTED] wrote: reiner.pope: Hi, Is there a way to use GHCi with code which is cabal-buildable but not ghc --make-able? The emacs haskell-mode makes a pretty good guess by :cd-ing into the directory with the .cabal file;

[Haskell-cafe] Cabal and GHCi

2008-10-26 Thread Reiner Pope
Hi, Is there a way to use GHCi with code which is cabal-buildable but not ghc --make-able? The emacs haskell-mode makes a pretty good guess by :cd-ing into the directory with the .cabal file; however, if there is a different source-dir this doesn't work so well. A number of more advanced cabal