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

mapConst

@JvmName("mapConst") fun <L, A, B> A.~~mapConst~~(arg1: Kind<Kind<ForEither, L>, B>): Either<L, 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
<