[r6rs-discuss] Problems with import syntax
AndrevanTonder
andre at het.brown.edu
Wed Jun 27 13:38:01 EDT 2007
I think the LIBRARY keyword is in the wrong place. I believe that,
to eliminate ambiguities, it should be part of <library reference>, /not/
<import set>. In other words, it would be unambiguous if one had to write:
(only (library (and)))
whereas currently one can still write the ambiguous
(library (only (and)))
The spec also says:
The syntax of an <import spec> is interpreted outermost to innermost if
ambiguities arise.
This could be dropped if the above suggestion is adopted, in which case the
syntax would be unambiguous. I am still hoping, though, that versions will
be dropped or simplified, in which case LIBRARY will not even be necessary.
Regards
Andre
More information about the r6rs-discuss
mailing list