Lecture overview -- Keyboard shortcut: 'u'  Previous page: Introduction and motivation -- Keyboard shortcut: 'p'  Next page: A catch and throw example -- 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 3 - Page 34 : 42
Functional Programming in Scheme
Name binding, Recursion, Iteration, and Continuations
The catch and throw idea

Catch and throw provides for an intuitively simple escape mechanism on functional ground


(catch id catch-expr)


(throw id throw-expression)

Scheme does not support catch and throw

Rather Scheme supports a much more powerful mechanisms based on continuations