How to Design Programs Languages

1`` | Beginning Student
2`` | Beginning Student with List Abbreviations
3`` | Intermediate Student
4`` | Intermediate Student with Lambda
5`` | Advanced Student
| Index

On this page:

delay

Version: 4.0.2
contents index
← prev up next →

#### 5.7`` delay

(delay expr)

Produces a “promise” to evaluate expr. The expr is not evaluated until the promise is forced through the force operator; when the promise is forced, the result is recorded, so that any further force of the promise always produces the remembered value.

contents index
← prev up next →