return-from-lambda viewed as dangerous, good alternatives

Neal Gafter neal at
Tue Jan 12 08:01:59 PST 2010

On Tue, Jan 12, 2010 at 7:39 AM,  <David.Moss at> wrote:
>> Your proposed syntax isn't transparent.
> No, It is not. But it is transparent enough, and follows the rule of
> least surprise.

Actually, it isn't transparent at all.

You seem to be confusing the goal of transparency with elements needed
to achieve it (e.g. return from the enclosing method), and then
proposing a way to get the latter such that it doesn't satisfy the
requirements of the former.

If you're interested in further analysis, we can continue this
discussion on the closures-dev mailing list.

More information about the closures-dev mailing list