On Wed, Jun 24, 2015 at 2:17 PM, Brendan Eich <[email protected]> wrote: > MM: Libraries could do this. > > yield * wrap(g,function.next); > > MM: "wrap" returns an iterator which wraps the generator which primes the > subgenerator with the supplied value.
Thanks for finding this discussion. This is exactly what I'm interested in. What does "wrap" look like? It seems like it would be pretty involved. -j _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

