block lambda revival
Waldemar Horwat
waldemar at google.com
Mon May 23 17:12:58 PDT 2011
On 05/23/11 16:20, Brendan Eich wrote:
> On May 23, 2011, at 1:44 PM, Waldemar Horwat wrote:
>> (we've yet to have a coherent discussion about what really can go into these parameter lists).
>
> I gave the grammar with semantics -- did you read it?
Yes. However I don't think it'd be tenable to not support rest parameters or whatever normal functions can do.
>> Now you want to add a third integer parameter:
>>
>> a = f{|| 42}{|x| x*x}(7)
>
> You did not read the grammar.
Snarky, aren't we? Incorrect too, as I did read the grammar.
> The space-separated block-lambda argument list can consist *only* of block-lambda expressions.
That was the problem I was pointing out.
Waldemar
More information about the es-discuss
mailing list