Join Slack
Powered by
<@U0BAF68H2> `flatMap { a -> f(a).fold({ em...
# arrow
j
jacob
12/04/2018, 10:41 PM
@alex.hart
flatMap { a -> f(a).fold({ empty<B>() }, { just(it) }) }
is how mapFilter is implemented, which looks pretty close to what you were suggesting. nice 🙂
Open in Slack
Previous
Next