On Thu, Jul 19, 2018 at 12:53 PM, Nicolas B. Pierron
<[email protected]> wrote:
>> On Wed, Jul 18, 2018 at 2:06 PM Nicolas B. Pierron
>> <[email protected]> wrote:
>>> Stupid question, but why are some of these methods implemented on
>>> String, Array, TypedArray, Map and Set, while all of them are
>>> Iteratable?
>>
> Among list of nice Iteratable property that one might add, and which
> might not be part of the standard are things like:
>   chain, take, skip, takeWhile, skipWhile, repeat, zip, enumerate,
> range, stepBy, …

Apparently this already exists as a JS library:
https://fitzgen.github.io/wu.js/

-- 
Nicolas B. Pierron
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to