> Anybody has the experience of importing a module from a different
> directory?In my code, i need to import a module that is not 
> in the current
> directory. How can I do that in GHC?

GHC-specific questions are best asked on [EMAIL PROTECTED] (where I've sent this 
followup).

You'll find the -i option to GHC will do what you want.  Documentation is here:

http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#OPTIONS-FINDING-IMPORTS

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to