Hello.

For R7RS final (draft #10?), the definition of the <pattern> grammar in section 
7.1.5 Transformers does not match with the explanation given in section 4.3.2 
Pattern language.  Is this an intentional loose definition of <pattern> or a 
bug with the definition of <pattern> ?

Best regards,

Joe N.

4.3.2 Pattern language

 It is also an error if ⟨syntax rule⟩ is not of the form

(⟨pattern⟩ ⟨template⟩)

The ⟨pattern⟩ in a ⟨syntax rule⟩ is a list ⟨pattern⟩ whose

first element is an identifier.


7.1.5. Transformers

⟨transformer spec⟩ −→ (syntax-rules (⟨identifier⟩*) ⟨syntax rule⟩*) | 
(syntax-rules ⟨identifier⟩ (⟨identifier⟩*) ⟨syntax rule⟩*)

⟨syntax rule⟩ −→ (⟨pattern⟩ ⟨template⟩) 

⟨pattern⟩ −→ ...
_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to