Node:Delayed Evaluation, Next:, Previous:Loading, Up:Read/Load/Eval

28.5 Delayed Evaluation


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.