[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] parameterize missing parentheses



§7.1.3 defines the syntax of parameterize. The correct syntax is "(<expression> <expression>)". §4.2.6 defines the semantics of parametrize. It requires that the first expression evaluate to a parameter object.

Furthermore, restricting the first expression to an identifier would not eliminate type errors. Consider:

(define foo 1)
(parameterize ((foo 2)) ...)

Regards,

Alan


_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports