Lecture overview -- Keyboard shortcut: 'u'  Previous page: Delayed evaluation in Scheme -- Keyboard shortcut: 'p'  Next page: Infinite lists in Scheme: Streams -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home    Lecture 5 - Page 22 : 26
Functional Programming in Scheme
The Order of Evaluation
Examples of delayed evaluation

Expression

Value

(delay (+ 5 6))
#<promise>
(force 11)
error
(let ((delayed (delay (+ 5 6))))
  (force delayed))
11

Examples of use of delay and force.