import modules from a different directory

Georg Martius mai99dgf at studserv.uni-leipzig.de
Thu Dec 11 15:52:23 EST 2003


<moved to haskell-cafe>

Hi,

You can give GHC with -iPath a directory where to look for modules. With 
-v you see where GHC actually looks for libraries.

Cheers,
   Georg

On Thu, 11 Dec 2003 15:59:04 +0800 (GMT-8), Wang Meng 
<wangmeng at comp.nus.edu.sg> wrote:

> 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
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>


More information about the Haskell-Cafe mailing list