[Haskell-cafe] Searchig for modules

Isaac Dupree isaacdupree at charter.net
Thu Jul 17 08:43:25 EDT 2008


fero wrote:
> Actually I have already found the way how to do it but not in eclipsefp.
> Either I run ghci and when both modules are in the same dir it works or I
> use "-idirs" but in eclipsefp it doesn't. Can somebody help me how to
> configure eclipsefp. I don't want to go to command prompt every time I want
> to run my program.

I don't know anything about IDEs, but...
ghc --make, should work to find the module on the command-line, and so 
should `runghc` (like interpreter but runs 'main').

There is also a way to install it more globally but I'm not sure what is 
a simple way to do that (it could involve making a .cabal file, I think)

-Isaac


More information about the Haskell-Cafe mailing list