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

John Cowan cowan at ccil.org
Wed Oct 14 00:06:32 EDT 2009


Brian Harvey scripsit:

> I vote no on having three things (LOAD, IMPORT, INCLUDE) all of which
> have almost the same meaning, when one will do.

Since you believe in first-class environments, you would say that.
For the rest of us:

LOAD happens at run time and accepts a computed file name.

INCLUDE happens at expand time and accepts a literal file name.

IMPORT happens at expand time and accepts a module name (which may imply
        a file name).

-- 
And it was said that ever after, if any                 John Cowan
man looked in that Stone, unless he had a               cowan at ccil.org
great strength of will to turn it to other              http://ccil.org/~cowan
purpose, he saw only two aged hands withering
in flame.   --"The Pyre of Denethor"



More information about the r6rs-discuss mailing list