S. Alexander Jacobson wrote:

> As I move from machine to machine, it would be nice not to have to 
> install all the libraries I use over and over again.  I'd like to be 
> able to do something like this:
> 
>    import http://module.org/someLib as someLib
> 
> If the requested module itself does local imports, the implementation 
> would first try to resolve the names on the client machine and 
> otherwise make requests along remote relative paths.

Embedding the path in the source code seems like a bad idea. If you
want to allow modules to be loaded via URLs, it would make more sense
to extend GHC's -i switch, i.e.

        ghc -i http://module.org/ ...

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to