@wycats might have an ideahttps://twitter.com/jacobrothstein/status/895758095640535040 …
Splatting onto an array means flatMap of Set produces array. Seems wrong.
-
-
Thanks for explaining, this is a whole aspect I hadn't considered. What about reduce, which can be return type agnostic if 2nd arg is req'd
-
…actually, regardless of 2nd arg, reduce makes no assumptions about return value, so should be less contentious?
-
Sure! reduce() is a nice primitive, as is flatMap. Neither seem that contentious to me, just work.
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.