arrow-core-data / arrow.core / kotlin.Pair

Extensions for kotlin.Pair

bothIor fun <A, B> Pair<A, B>.bothIor(): Ior<A, B>
combine fun <A, B> Pair<A, B>.combine(SA: Semigroup<A>, SB: Semigroup<B>, b: Pair<A, B>): Pair<A, B>
compareTo operator fun <A : Comparable<A>, B : Comparable<B>> Pair<A, B>.compareTo(other: Pair<A, B>): Int
toTuple2 fun <A, B> Pair<A, B>.~~toTuple2~~(): Tuple2<A, B>

Do you like Arrow?

Arrow Org
<