[r6rs-discuss] Problems with import syntax

From: AndrevanTonder <andre>
Date: Wed, 27 Jun 2007 13:38:01 -0400 (EDT)

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
Received on Wed Jun 27 2007 - 13:38:01 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC