yield* desugaring

David Herman dherman at mozilla.com
Thu May 2 09:51:07 PDT 2013


On May 2, 2013, at 6:25 AM, Andreas Rossberg <rossberg at google.com> wrote:

> 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. ;)

I know, you've already stated that. This is OT.

Dave



More information about the es-discuss mailing list