Allen's lambda syntax proposal

Jeff Watkins watkins at apple.com
Tue Dec 2 10:39:34 PST 2008


On 2 Dec, 2008, at 10:28 AM, Peter Michaux wrote:

> If a trailing block outside the parameter list is passed as the last
> argument, then what happens when there is a rest parameter as the last
> argument in the parameter list? It gets a bit messy to determine if
> the last argument passed in was the last argument of some rest
> parameters or an optional trailing lambda.

Er, yeah. That's a really good point. I suppose you could bake that  
into the specification, but I think that way lies madness.


Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20081202/bb2bf585/attachment.html>


More information about the Es-discuss mailing list