On Sun, Apr 24, 2011 at 9:23 AM, Andre van Tonder <[email protected]> wrote: > With the definitions on p 55. > > (let ((x 1)) > (cond (else (define x 2))) > x) > => 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. -- Alex _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
