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

John Cowan cowan at ccil.org
Tue Oct 13 17:21:24 EDT 2009


Shiro Kawai scripsit:

> Hmm... in this scenario, you can only say (import Good-Module)
> within some conditionals, either directly in the cond-expand
> clause or indirectly within the included file.   That means
> import must be recognized *after* macro expansion, or the
> conditional must be lifted to the module-syntax level, doesn't it?

No, because you import the same set of identifiers in either case.
You load different sets of code thanks to the conditional inclusion.

-- 
Is not a patron, my Lord [Chesterfield],        John Cowan
one who looks with unconcern on a man           http://www.ccil.org/~cowan
struggling for life in the water, and when      cowan at ccil.org
he has reached ground encumbers him with help?
        --Samuel Johnson



More information about the r6rs-discuss mailing list