Oh I must have missed that, never mind then thanks Axel for pointing out.  


Regards
--
Irakli Gozalishvili
Web: http://www.jeditoolkit.com/


On Wednesday, 2013-11-20 at 03:22 , Axel Rauschmayer wrote:

> > +1 on arrowed generators! Have being actively using generators last month & 
> > have being wishing they could be like arrows, although syntax I've being 
> > thinking of was  
> >  
> > (x, y) *> { .... }
> >  
> > BTW given that generators are used as a method on iterators wouldn't it 
> > make sense to consider syntax for generator members in a classes syntax ??
>  
> It’s already in the spec: 
> https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions
> > My hope is in ES6 we would just use class syntax for methods & arros for 
> > functions making "function" a legacy
>  
> My hope, too.
> --  
> Dr. Axel Rauschmayer
> a...@rauschma.de (mailto:a...@rauschma.de)
>  
> home: rauschma.de (http://rauschma.de/)twitter: twitter.com/rauschma 
> (http://twitter.com/rauschma)
> blog: 2ality.com (http://2ality.com/)
>  
>  
>  
>  

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to