arrow-core / arrow.core.extensions / EitherApply / map
open fun <A, B> EitherOf<L, A>.map(f: (A) -> B): Either<L, B>
Do you like Arrow?