Re: [Scheme-reports] parameterize missing parentheses Alan Watson (15 Mar 2012 06:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses leppie (15 Mar 2012 06:10 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 leppie 15 Mar 2012 06:10 UTC

>> That should be <binding spec> instead of <expression>.
>
> I don't think so. The parameters can be specified by expressions and not just identifiers.
>
>> is missing a pair of parentheses "(<expression> <expression)*"
>
> I meant: is missing a pair of parentheses AROUND "(<expression> <expression)*"
>

I do understand the missing parenthesis part, but parameterize's
bindings looks just like a let's.

Just having <expression> makes the definition ambiguous.

As it is now, <expression> can be anything, including a 'list'.

Eg: (parameterize ((1) 2 (+ #t '())) #f) is valid, but bogus.

Making it <binding spec> should be enough to remove the ambiguity.

Cheers

leppie

--
http://codeplex.com/IronScheme
http://xacc.wordpress.com

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