Kevin Smith (2013-12-12T21:02:44.000Z)
>  Well, let's use it in context then. I think this is correct?
>
> ```js
> const flattened = iterableReduce(iterableOfIterables, (a, b) =*> { yield*
> a; yield* b; }, []);
> ```
>

Makes sense to me.

Still, what's the alternative?

    function* concat(a, b) { yield* a; yield* b; }
    const flattened = iterableReduce(iterableOfIterables, concat, []);

Not so bad.  Again though, we can't make good optimization choices in a
(data) vacuum.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131212/9bce1cda/attachment.html>
domenic at domenicdenicola.com (2013-12-24T23:47:56.783Z)
>  Well, let's use it in context then. I think this is correct?
>
> ```js
> const flattened = iterableReduce(iterableOfIterables, (a, b) =*> { yield* a; yield* b; }, []);
> ```

Makes sense to me.

Still, what's the alternative?

    function* concat(a, b) { yield* a; yield* b; }
    const flattened = iterableReduce(iterableOfIterables, concat, []);

Not so bad.  Again though, we can't make good optimization choices in a
(data) vacuum.