arrow-core-data / arrow.core / flatMap
inline fun <A, B, C>
EitherOf
<A, B>.flatMap(f: (B) ->
Either
<A, C>):
Either
<A, C>
Binds the given function across Either.Right.
f
- The function to bind across Either.Right.inline fun <A, B, D>
Ior
<A, B>.flatMap(SG:
Semigroup
<A>, f: (B) ->
Ior
<A, D>):
Ior
<A, D>
Binds the given function across Ior.Right.
f
- The function to bind across Ior.Right.
Do you like Arrow?
✖