yield* desugaring

Andreas Rossberg rossberg at google.com
Thu May 2 06:25:21 PDT 2013

On 1 May 2013 02:06, David Herman <dherman at mozilla.com> wrote:
> It also has a smell to it: the idea that an expression can cause a return, without the syntactic appearance of `return`. (I'm not opposed to the idea of being able to return from expressions -- I still love do-expressions. But I prefer `return` to be a syntactically apparent control effect.)

Of course, there is no need to allow 'return' or friends in
do-expressions. In fact, I'd be opposed to that. ;)


More information about the es-discuss mailing list