(via Patrick Logan's Radio Weblog)
This paper describes several common patterns of using call/cc: escape from a loop, escape from recursion, loop via continuations, escape and reentry into recursion, coroutines, non-blind backtracking, and multitasking.
The paper starts by explaining what continuations are and how they are captured using call/cc (the paper uses Scheme throughout), and thus can be read by beginners.
Posted to general by Ehud Lamm on 3/26/02; 3:08:47 AM
|
|