[Haskell-cafe] How can i run darcs in ghci?

Daryoush Mehrtash dmehrtash at gmail.com
Tue Feb 16 02:53:23 EST 2010

I am trying to understand darcs implementation.  I can install the app using
cabal, so now I want to load it in ghci to be able to play around with it.

Any help on how to load the .h is greatly appreciated.     I tried -i with
path to the src directory but it didn't work (should it?).

I am also very curious how others approach a new code base.  What do the you
do to figure out an implementation?



On Mon, Feb 15, 2010 at 10:49 PM, Marc Weber <marco-oweber at gmx.de> wrote:

> > What am I doing wrong?
> I don't know exactly. What's your use case? You should be able to load
> the darcs library into ghci without problems. Maybe this is good enough
> for you?
> impossible.h is located in src. So looking up ghc flags about how to
> to pass -I flags to CPP should be enough (?).
> Another way to find those flags fast is running ./Setup -v3
> which will output the ghc commands cabal is running.
> Marc Weber
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100216/7e4718f1/attachment.html

More information about the Haskell-Cafe mailing list