Re: Proposal to simplify Generators impact

2013-10-27 Thread Lucio Tato
OK. Now I've read the email threads (didn't found them the first time). Now I understand why. Thanks. On Sat, Oct 26, 2013 at 10:00 PM, Brendan Eich bren...@mozilla.com wrote: Yup. Look (Licio), we've been over this many times, recorded here in es-discuss (directly in posts and in TC39

Proposal to simplify Generators impact

2013-10-26 Thread Lucio Tato
It's really needed to make js syntax more complex in order to implement generators? It's function* really needed? can you just expose Generator as a core function? can yield be a function-call-like-construct instead of a new language construction? function fibonacci() { let [prev, curr] = [0,

Re: Proposal to simplify Generators impact

2013-10-26 Thread Lucio Tato
); } } On Sat, Oct 26, 2013 at 4:08 PM, Rick Waldron waldron.r...@gmail.comwrote: On Sat, Oct 26, 2013 at 1:01 PM, Lucio Tato luciot...@gmail.com wrote: It's really needed to make js syntax more complex in order to implement generators? It's function* really needed? Yes, because `yield` is only