[r6rs-discuss] Problem with SYNTAX specification

From: AndrevanTonder <andre>
Date: Thu, 28 Jun 2007 14:49:58 -0400 (EDT)

12.4 of the draft says:

   The value of a syntax form is a copy of <template> in which the
   pattern variables appearing within the template are replaced
   with the input subforms to which they are bound. Pattern data and
   identifiers that are not pattern variables or ellipses are copied
   directly into the output.

The last line is not true of my expander, in which SYNTAX
renames the introduced identifiers to prevent capture before
placing them in the output.

In practice this will never matter, but the difference might be
observable in principle (depend on whether "copied directly"
has an observable meaning).

Andre
Received on Thu Jun 28 2007 - 14:49:58 UTC

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