arrow-core-data / arrow.core / SortedMapK

SortedMapK

@higherkind data class SortedMapK<A : Comparable<A>, B> : SortedMapKOf<A, B>, SortedMapKKindedJ<A, B>, SortedMap<A, B>

Constructors

<init> SortedMapK(map: SortedMap<A, B>)

Functions

ap fun <C> ap(ff: SortedMapK<A, (B) -> C>): SortedMapK<A, C>
ap2 fun <C, Z> ap2(f: SortedMapK<A, (B, C) -> Z>, fc: SortedMapK<A, C>): SortedMap<A, Z>
equals fun equals(other: Any?): Boolean
flatMap fun <C> flatMap(f: (B) -> SortedMapK<A, C>): SortedMapK<A, C>
foldLeft fun <C> foldLeft(c: C, f: (C, B) -> C): C
fun <C> foldLeft(c: SortedMapK<A, C>, f: (SortedMapK<A, C>, Tuple2<A, B>) -> SortedMapK<A, C>): SortedMapK<A, C>
foldRight fun <C> foldRight(c: Eval<C>, f: (B, Eval<C>) -> Eval<C>): Eval<C>
hashCode fun hashCode(): Int
map fun <C> map(f: (B) -> C): SortedMapK<A, C>
map2 fun <C, Z> map2(fc: SortedMapK<A, C>, f: (B, C) -> Z): SortedMapK<A, Z>
map2Eval fun <C, Z> map2Eval(fc: Eval<SortedMapK<A, C>>, f: (B, C) -> Z): Eval<SortedMapK<A, Z>>
show fun show(SA: Show<A>, SB: Show<B>): String
toString fun toString(): String
traverse fun <G, C> traverse(GA: Applicative<G>, f: (B) -> Kind<G, C>): Kind<G, SortedMapK<A, C>>

Extension Functions

altFold fun <T, F, A> Kind<T, A>.altFold(AF: Alternative<F>, FT: Foldable<T>): Kind<F, A>
altSum fun <T, F, A> Kind<T, Kind<F, A>>.altSum(AF: Alternative<F>, FT: Foldable<T>): Kind<F, A>
conest fun <F, A, B> CounnestedType<F, A, B>.conest(): ConestedType<F, A, B>
updated fun <A : Comparable<A>, B> SortedMapK<A, B>.updated(k: A, value: B): SortedMapK<A, B>

Do you like Arrow?

Arrow Org
<