Final iterator spec

joe joeedh at gmail.com
Thu Feb 20 04:26:49 PST 2014


Thanks.  Btw, where is the final spec stored?
On Feb 20, 2014 3:53 AM, "Brandon Benvie" <bbenvie at mozilla.com> wrote:

> What you're probably seeing is that the wiki no longer has up to date
> information. As things have been fully fleshed out in the es6 draft spec,
> the wiki is no longer up to date.
>
> To answer your question, the iterator protocol hasn't changed back to
> using StopIteration. It's still { value, done }.
>
> > On Feb 20, 2014, at 2:27 AM, joe <joeedh at gmail.com> wrote:
> >
> > A while back, the wiki Harmony draft spec for iterators changed from a
> Pythonic StopIteration approach to one where iterator objects return a
> {value : iter-value, done : bool} object.  It since seems to have changed
> back.  Is that the case, or am I misreading the situation?
> >
> > It seems that Tracuer has yet to switch back, and before I bug the
> developers on that project I wanted to make sure that StopIteration is, in
> fact, back.
> >
> > Thanks,
> > Joe Eagar
> > _______________________________________________
> > es-discuss mailing list
> > es-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140220/6b6dab87/attachment.html>


More information about the es-discuss mailing list