I end up using a combination of two techniques:
- putting the directory concerned on the Haskell library include path (-i
in GHC IIRC, and a registry setting for Hugs, also accessible using the
:set command).
- import X.Y.Z
The hierarchical module naming structure is interpreted as
subdirect
Hi All,
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?
-W-M-
@ @
|
\_/
___
Haskell mailing list
[EMAIL PROTECTED