Really nice idea. I guess that, since the map |> flatten pattern is pretty common, a flatMap would come in handy.
Also, somehow related is this article series. The link is to the last post, which links to the first two.
yes, I think thats what actual libraries like RxJS typically have, and for that particular reason (though I do like the explicitness of flatten operator in callbags for example).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Really nice idea. I guess that, since the
map |> flatten
pattern is pretty common, aflatMap
would come in handy.Also, somehow related is this article series. The link is to the last post, which links to the first two.
yes, I think thats what actual libraries like RxJS typically have, and for that particular reason (though I do like the explicitness of
flatten
operator in callbags for example).