arrow-core / arrow.core.extensions / AndThenApply / map
open fun <A, B> AndThenOf<X, A>.map(f: (A) -> B): AndThen<X, B>
Do you like Arrow?