arrow-core-data / arrow.core / Eval / Now
data class Now<out A> :
Eval
<A>
Construct an eager Eval instance. In some sense it is equivalent to using a val.
This type should be used when an A value is already in hand, or when the computation to produce an A value is pure and very fast.
<init> | Construct an eager Eval instance. In some sense it is equivalent to using a val.Now(value: A) |
value | val value: A |
memoize | fun memoize(): Eval <A> |
toString | fun toString(): String |
value | fun value(): A |
Do you like Arrow?
✖