@wycats might have an ideahttps://twitter.com/jacobrothstein/status/895758095640535040 …
I'm interested in pushing for flatMap to getting added to collections other than Array (an Array is proposed atm)
-
-
flatMap on instances of Set/Map or their .entries()? What gets flattened? Personally would love reduce/filter/map on Set.proto & Map.proto
-
Instances. Entries are just an Iterator (which could also have flatMap) but you want sets to flatten into sets.
-
Oh I see. I was definitely imagining the default return value of any collection function would be an Array. Hadn't considered Map -> Map
-
It's kinda like jQuery().children(), which wants to produce a new jQuery, not Array.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.