arrow-core / arrow.core.extensions.andthen.functor / mapConst

mapConst

@JvmName("mapConst") fun <X, A, B> A.~~mapConst~~(arg1: Kind<Kind<ForAndThen, X>, B>): AndThen<X, A> Deprecated: AndThen is deprecated in favor of the function andThen used to provide stack safe function composition.

Replaces the B value inside F with A resulting in a Kind<F, A>

Do you like Arrow?

Arrow Org
<