I'd be -1 on adding something like this to the language. This is better solved with a library.
Transducers are a much better general solution than by stacking or adding special array functions. You don't want to solve the "map with filter" case, since there are many, many more combinations (take after map, filter on map, group with map, etc.). Some details on transducers: https://clojure.org/reference/transducers https://github.com/cognitect-labs/transducers-js
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

