Axel Rauschmayer (2013-08-28T15:07:37.000Z)
domenic at domenicdenicola.com (2013-08-31T21:00:05.015Z)
On Aug 28, 2013, at 17:02 , Forbes Lindesay <forbes at lindesay.co.uk> wrote: > It would be nice from a readability point of view if `iteratable.toArray()` could always be used as a substitute for `Array.from(iteratable)`. Is there a way that could be neatly achieved? For me, `[ ... iterable ]` would be good enough. Relatively readable and concise. > It would also be nice if methods like `.map` and `.filter` existed on iteratables. C# does this via the concept of extension methods, but I wonder whether something similar could be achieved here, at least in the case of built in iteratables? It would be lovely to have a module with tool functions for this, similar to Python’s itertools. http://docs.python.org/3/library/itertools.html