24 Mar
2005
24 Mar
'05
7:26 p.m.
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 <glynn@gclements.plus.com>