Mikael Grev grev at
Wed Jul 7 12:21:24 PDT 2010

Most developers seem to think that a lambda body is comparable to a SAM/AIC implementation body, which is a method.


On Jul 7, 2010, at 20:41 PM, Neal Gafter wrote:

> On Wed, Jul 7, 2010 at 11:37 AM, Mikael Grev <grev at> wrote:
> > Using "return" now complicates our ability to provide nonlocal
> > control flow in the future.
> Only if you expect to ever use only "return" as long return. I would never want to see that happen anyway, even "return return" is better, since that is the new "keyword" for a new concept.
> I think it is a bit backwards to introduce something new for a current thing to keep an option to have something current mean something new in the future.
> "return" currently means return from the innermost method or constructor.  Supporting return across lambda boundaries would not change that.

More information about the lambda-dev mailing list