On Mon, Jan 11, 2010 at 10:16 AM, Sittampalam, Ganesh
<ganesh.sittampa...@credit-suisse.com> wrote:
> Ivan Lazar Miljenovic wrote:
>> Martijn van Steenbergen <mart...@van.steenbergen.nl> writes:
>>> Another solution is to build your applications using Cabal and
>>> specify your dependency on mtl in the cabal file.
>>
>> But until we have "cabal ghci", this completely fails for actual
>> hacking purposes...
>
> Just do cabal build -v, then cut and paste the ghc --make command-line and 
> replace --make with --interactive.

Thanks for this tip!

I always make a ghci.sh bash script in each of my projects that calls
"ghci -hide-all-packages -package x -package y -package z". However a
"cabal ghci" or "cabal interactive" command that does this
automatically would be ideal. I see there already is a ticket[1] about
it.

regards,

Bas

[1] http://hackage.haskell.org/trac/hackage/ticket/382
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to