Re: [Scheme-reports] parameterize missing parentheses
Alan Watson 15 Mar 2012 06:17 UTC
§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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports