SUSP
signatureThis module creates and manipulates suspensions for lazy evaluation.
signature SUSP
structure SMLofNJ.Susp
: SUSP
type 'a susp
val delay : (unit -> 'a) -> 'a susp
val force : 'a susp -> 'a
type 'a susp
delay f
force s
f
function, save the result, and return the result. If s has been previously forced, return the result from last time.