Lecture overview -- Keyboard shortcut: 'u'  Previous page: Arbitrary evaluation order - with some limits -- Keyboard shortcut: 'p'  Next page: A motivating example - clarification -- 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 6 : 26
Functional Programming in Scheme
The Order of Evaluation
A motivating example

What is the value of the following expression?

((lambda (x) 1) some-infinite-calculation)

A constant function with an actual parameter expression, the evaluation of which never terminates.

y:/Kurt/Files/courses/prog3/prog3-03/sources/notes/includes/infinite-ex.scmA more concrete version of the expression from above.

The function infinite-calculation just calls itself without ever terminating.