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

2010-02-18 Thread Jason Dagit
On Tue, Feb 16, 2010 at 12:17 AM, Marc Weber marco-owe...@gmx.de wrote: 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?). Try -I -i is used for .hs files only (?). This seems like a missing feature in

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

2010-02-16 Thread Marc Weber
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?). Try -I -i is used for .hs files only (?). I am also very curious how others approach a new code base. What do the you do to figure out an implementation?

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

2010-02-15 Thread Daryoush Mehrtash
I am trying to load darc.hs (from darcs 2.3.1, ghci 6.10.4 on Ubuntu) and I get the following :~/darcs-src/darcs-2.3.1/src$ ghci GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading

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

2010-02-15 Thread Marc Weber
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 (?).

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

2010-02-15 Thread Daryoush Mehrtash
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