Brendan Eich (2013-09-06T18:18:46.000Z)
> Allen Wirfs-Brock <mailto:allen at wirfs-brock.com>
> September 6, 2013 11:01 AM
>
> Almost as good, a arrow function with a generator comprehension as its 
> expression body. For example, a factory for a generator with a lexical 
> this binding:
>
> c => (for (p of c) if (p in this) this[p])
>
> not much different from a hypothetical generator arrow function and 
> arguably better :
> c *=> {for (p of c) if (p in this) yield this[p]}

There would be no explicit |yield| in the second example, though. 
(|yield| is an error in any arrow body.)

I'm not seriously advocating generator arrow function syntax, mind you!

Just want a better way to bind |this|, e.g., 
http://wiki.ecmascript.org/doku.php?id=strawman:bind_operator.

/be
domenic at domenicdenicola.com (2013-09-18T18:52:32.904Z)
There would be no explicit `yield` in the second example, though. 
(`yield` is an error in any arrow body.)

I'm not seriously advocating generator arrow function syntax, mind you!

Just want a better way to bind `this`, e.g., 
http://wiki.ecmascript.org/doku.php?id=strawman:bind_operator.