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

mapConst

@JvmName("mapConst") fun <F, A, B> A.~~mapConst~~(arg1: Kind<Kind<ForTuple2, F>, B>): Tuple2<F, A> Deprecated: @extension kinded projected functions are deprecated

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

Do you like Arrow?

Arrow Org
<