| www.delorie.com/gnu/docs/guile/r5rs_37.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The `delay' construct is used together with the procedure force to
implement lazy evaluation or call by need.
(delay <expression>) returns an object called a
promise which at some point in the future may be asked (by
the `force' procedure)
to evaluate
<expression>, and deliver the resulting value.
The effect of <expression> returning multiple values
is unspecified.
See the description of `force' (section see section 6.4 Control features) for a more complete description of `delay'.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |