[Haskell-cafe] Cabal and GHCi

Reiner Pope reiner.pope at gmail.com
Tue Oct 28 01:37:12 EDT 2008


On Tue, Oct 28, 2008 at 2:23 PM, Don Stewart <dons at galois.com> 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; however, if there is a different
>>    source-dir this doesn't work so well. A number of more advanced cabal
>>    features are even harder to handle.
>>
>
> Not currently. Duncan's interested in implementing this, so if you add a
> tacket for a 'cabal ghci' mode, that loads up the main-is target in
> ghci, with all the appropriate flags, he might well implement it :-)
>
> -- Don
>

Done: http://hackage.haskell.org/trac/hackage/ticket/382

:-)

Reiner


More information about the Haskell-Cafe mailing list