[r6rs-discuss] Import choices: flexibility vs. discoverability

Ray Dillinger bear at sonic.net
Wed Oct 14 14:36:20 EDT 2009


On Wed, 2009-10-14 at 14:33 -0400, John Cowan wrote:
> Ray Dillinger scripsit:

> > Hm. The distinction I had been drawing between the desired 
> > functionality of "load" vs. "import" is that "import" is aware 
> > of and can be used for names defined as libraries/modules 
> > (whose implementation may be binary or FASL or whatever) 

> So that's just (load (module-search name)).

> > whereas "load" is aware of and can be used for filenames 
> > (implicitly files of scheme source code) only. 

> R5RS explicitly allows loaded files not to be in Scheme.

Cool.  In that case WG1 doesn't need "import" at all and WG2 
can restrict it in whatever way they want.

				Bear





More information about the r6rs-discuss mailing list