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.<br><br>Any help on how to load the .h is greatly appreciated.     I tried -i with path to the src directory but it didn&#39;t work (should it?).<br>
<br>I am also very curious how others approach a new code base.  What do the you do to figure out an implementation?<br><br>Thanks,<br><br>Daryoush<br><br><div class="gmail_quote">On Mon, Feb 15, 2010 at 10:49 PM, Marc Weber <span dir="ltr">&lt;<a href="mailto:marco-oweber@gmx.de">marco-oweber@gmx.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">&gt; What am I doing wrong?<br>
</div>I don&#39;t know exactly. What&#39;s your use case? You should be able to load<br>
the darcs library into ghci without problems. Maybe this is good enough<br>
for you?<br>
<br>
impossible.h is located in src. So looking up ghc flags about how to<br>
to pass -I flags to CPP should be enough (?).<br>
<br>
Another way to find those flags fast is running ./Setup -v3<br>
which will output the ghc commands cabal is running.<br>
<br>
HTH<br>
<font color="#888888">Marc Weber<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></blockquote></div><br><br clear="all"><br>