Open larceny-trac-import opened 11 years ago
Author: will
The ERR5RS/R6RS bug was fixed by changeset:5269, incorporating Andre van Tonder's changes to r6rs-expander.sch
.
The R5RS behavior remains the same, so I'm leaving this ticket open. For R5RS mode it is more of an enhancement than a bug, so I'm lowering the priority to minor and changing the milestone.
Reported by: will on Thu Dec 27 09:56:00 2007 As reported by Ryan Newton.
The following should work:
Then
should display
In ERR5RS/R6RS modes, however, Larceny rejects the macro definition:
In R5RS mode, Larceny accepts an analogous
syntax-rules
definition but then rejects uses of that macro. That behavior appears to be technically correct for R5RS, but it would probably be a good idea to make Larceny's implementation of R5RSsyntax-rules
consistent with the R6RS semantics.