Constructors

Link copied to clipboard
fun <out A> Defer(thunk: () -> Eval<A>)

Functions

Link copied to clipboard
inline fun <B> coflatMap(crossinline f: (Eval<A>) -> B): Eval<B>
Link copied to clipboard
fun <B> flatMap(f: (A) -> Eval<B>): Eval<B>
Link copied to clipboard
inline fun <B> map(crossinline f: (A) -> B): Eval<B>
Link copied to clipboard
open override fun memoize(): Eval<A>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun value(): A

Properties

Link copied to clipboard
val thunk: () -> Eval<A>