Generators with arrow functions.

Hemanth H.M hemanth.hm at gmail.com
Tue Sep 23 07:05:32 PDT 2014


> It is one proposed syntax for async functions.

Cool, thanks.

On Tue, Sep 23, 2014 at 7:30 PM, Jeremy Martin <jmar777 at gmail.com> wrote:

> This has come up a few times.  Check out this thread, for example:
> http://esdiscuss.org/topic/generator-arrow-functions.
>
> On Tue, Sep 23, 2014 at 9:40 AM, Hemanth H.M <hemanth.hm at gmail.com> wrote:
>
>> Is there a mention about it somewhere?
>>
>> Something like:
>>
>> ```
>> gen = (x) * => yield x+2;
>>
>> ```
>>
>> I understand that arrow functions are lexically bound and has an
>> explicitly return in it's a one liner.
>> --
>> *'I am what I am because of who we all are'*
>> h3manth.com <http://www.h3manth.com>
>> *-- Hemanth HM *
>>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>>
>
>
> --
> Jeremy Martin
> 661.312.3853
> http://devsmash.com
> @jmar777
>



-- 
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140923/7708a9a5/attachment.html>


More information about the es-discuss mailing list