
19 Jan
2005
19 Jan
'05
7:21 a.m.
On 17 January 2005 22:53, Sean Bowman wrote:
I'm trying to install HUnit to use with ghci and hugs and having some trouble. It works if I use the -i option with ghci, but I'd rather not have to specify that on the command line every time. Putting it in a ~/.ghci file doesn't seem to work. How can I set the search path for 3rd party Haskell modules?
You have two choices: use the -i option, or make a package. The "right way" to use 3rd party libraries is to make a package. We're making it easier to build packages with Cabal (http:///www.haskell.org/cabal/). Incedentally, GHC 6.4 will come with HUnit. And I believe there's a Cabal version floating around somewhere that should install with GHC 6.2.2. Cheers, Simon
7430
Age (days ago)
7430
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow