arrow-core-data / arrow.core / Const

Const

@higherkind data class Const<A, out T>

Constructors

<init> Const(value: A)

Functions

retag fun <U> retag(): Const<A, U>
show fun show(SA: Show<A>): String
toString fun toString(): String
traverse fun <G, U> traverse(GA: Applicative<G>, f: (T) -> Kind<G, U>): Kind<G, Const<A, U>>
traverseFilter fun <G, U> traverseFilter(GA: Applicative<G>, f: (T) -> Kind<G, Option<U>>): Kind<G, Const<A, U>>
value fun value(): A

Companion Object Functions

just fun <A, T> just(a: A): Const<A, T>

Do you like Arrow?

Arrow Org
<