Node:Delayed Evaluation, Next:Local Evaluation, Previous:Loading, Up:Read/Load/Eval
[delay]
promise? obj | Scheme Procedure |
scm_promise_p (obj) | C Function |
Return true if obj is a promise, i.e. a delayed computation (see Delayed evaluation). |
force x | Scheme Procedure |
scm_force (x) | C Function |
If the promise x has not been computed yet, compute and return x, otherwise just return the previously computed value. |