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'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 23 : 43
Programming Paradigms
Simulation of other Paradigms 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

Instead, Scheme supports a much more powerful mechanisms based on continuations