transparent lambda

Neal Gafter neal at gafter.com
Tue Dec 29 15:15:48 PST 2009


On Tue, Dec 29, 2009 at 2:57 PM, Mark Mahieu <markmahieu at googlemail.com>wrote:

> Your example suggests that I should say something like "breaks from the
> lambda named 'foo' returning 'bar'", but if its producing a result from the
> lambda then "return" is exactly the word I'd like to avoid here.
>

I would use the word "result":

The statement

*break* *Identifier **: **Expression** **;*

terminates execution of the body of the lambda with whose label is given by
the identifier, with the result value given by the expression.

-Neal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20091229/1883816c/attachment.html 


More information about the closures-dev mailing list