[Haskell-cafe] Packages and "how to load them"
stefanor at cox.net
Thu Sep 27 18:16:50 EDT 2007
On Thu, Sep 27, 2007 at 06:10:37PM -0400, bbrown wrote:
> If I have a set of haskell code and I create a directory with the source that
> has the following imports.
> module MyLib where
> And then I want to use that set of code at the top level directory, eg:
> import MyLib
> How would I compile with ghc such that it loads the code from "some_dir"
> without it having to have the module as "module some_dir.MyLib". I think
> this is a basic packaging question but couldnt figure it out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070927/1c32ab2d/attachment.bin
More information about the Haskell-Cafe