Re: [Scheme-reports] parameterize missing parentheses Alan Watson (15 Mar 2012 06:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (15 Mar 2012 06:17 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (15 Mar 2012 15:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (15 Mar 2012 15:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (16 Mar 2012 03:31 UTC)
Re: parameterize missing parentheses Arthur A. Gleckler (18 Mar 2012 04:19 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (27 Mar 2012 06:01 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (27 Mar 2012 14:01 UTC)

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