arrow-core-data / arrow.core / Either / bimap
inline fun <C, D> bimap(leftOperation: (A) -> C, rightOperation: (B) -> D): Either<C, D>
inline fun <C, D> bimap(leftOperation: (A) -> C, rightOperation: (B) -> D):
Either
<C, D>
Map over Left and Right of this Either
Do you like Arrow?