import modules from a different directory
simonmar at microsoft.com
Thu Dec 11 10:18:28 EST 2003
> 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 glasgow-haskell-users at haskell.org (where I've sent this followup).
You'll find the -i option to GHC will do what you want. Documentation is here:
More information about the Glasgow-haskell-users