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?
Thanks,
Daryoush
> 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.
HTH
Marc Weber
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe