Mark Thornton mthornton at
Wed Jul 7 12:10:38 PDT 2010

Mikael Grev wrote:
> New things (long returns) should look and feel new. Things that works as before should look the same.
> So "return" should be a local return. As Neal mentioned just now that isn't maybe 100% accurate for a language expert, but I, and I think must developers, will see the body of the lambda as a method body and expect the return from it to just leave that body. Hence a simple "return" will do what's expected and yield would just confuse.
But, depending to some extent on syntax choice, it doesn't look like a 
method body. The current 'method' cues are missing.

Mark Thornton

More information about the lambda-dev mailing list