arrow-core-data / arrow.core / SetK

SetK

@higherkind data class SetK<out A> : SetKOf<A>, Set<A>

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>

Do you like Arrow?

Arrow Org
<