
On Mon, Jan 11, 2010 at 10:16 AM, Sittampalam, Ganesh
Ivan Lazar Miljenovic wrote:
Martijn van Steenbergen
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