[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] COND, CASE, AND, ... macros are buggy
On Sun, Apr 24, 2011 at 9:23 AM, Andre van Tonder <andre@x> wrote:
> With the definitions on p 55.
> (let ((x 1))
> (cond (else (define x 2)))
> => 2
> similarly for CASE.
Actually, not for CASE, the rule for computing the
key comes before the rule for expanding the ELSE.
In conjunction with your previous mail, these would
seem to be unspecified in R5RS, but it seems worth
explicitly introducing a lexical scope.
Scheme-reports mailing list