arrow-core-data / arrow.core / SetK

SetK

data class ~~SetK~~<out A> : SetKOf<A>, Set<A> Deprecated: SetK is deprecated along side Higher Kinded Types in Arrow. Prefer to simply use kotlin.collections.Set instead.Arrow provides extension functions on Iterable and kotlin.collections.Set to cover all the behavior defined for SetK

Constructors

<init> SetK(set: Set<A>)

Functions

equals fun equals(other: Any?): Boolean
foldLeft fun <B> foldLeft(b: B, f: (B, A) -> B): B
foldRight fun <B> foldRight(lb: Eval<B>, f: (A, Eval<B>) -> Eval<B>): Eval<B>
show fun ~~show~~(SA: Show<A>): String
toString fun toString(): String

Companion Object Functions

empty fun ~~empty~~(): SetK<Nothing>
just fun <A> ~~just~~(a: A): SetK<A>

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>
combineK fun <A> SetKOf<A>.~~combineK~~(y: SetKOf<A>): SetK<A>
fix fun <A> SetKOf<A>.~~fix~~(): SetK<A>

Do you like Arrow?

Arrow Org
<