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'  Help page about these notes  Alphabetic index  Course home  Lecture 4 - Page 22 : 27
Programming Paradigms
Evaluation Order and Infinite Lists
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.