Allen Wirfs-Brock (2013-05-13T18:10:58.000Z)
github at esdiscuss.org (2013-07-12T02:27:23.483Z)
On May 13, 2013, at 10:51 AM, Andy Wingo wrote: > On Mon 13 May 2013 19:24, Allen Wirfs-Brock <allen at wirfs-brock.com> writes: > >> [`yield*` is] just a yielding loop over an iterator that for some reason >> was arbitrarily being restricted to being a generator. > > I don't think the restriction you mention was present in the harmony > document, was it? Not precisely, but its unconditional use of `send`/`throw`/`close` in that proposal precluded using any simple (only implements `next`) iterator, including all of the built-in iterators.