Prev Up Next
One of the signal features of Scheme is its support for
jumps or nonlocal control. Specifically, Scheme
allows program control to jump to arbitrary
locations in the program, in contrast to the more
restrained forms of program control flow allowed by
conditionals and procedure calls. Scheme's nonlocal
control operator is a procedure named
call-with-current-continuation. We will
see how this operator can be used to create a
breathtaking variety of control idioms.