Intlib logo SchemeContinuation

In the SchemeLanguage, continuations play a key role. In fact, continuation can be seen as a momental snapshot of the state of the whole process, to which we can return later. From the other hand, a continuation is a generalization for such mechanisms as non-local exits, exceptions, long jumps etc.

In Scheme, continuations are produced by the function call-with-current-continuation, or (abbreviated form of the name) call/cc.

Here is a good paper which describes continuaiton:

Even better text to read is devoted to call/cc but is in fact general:

more links -- coroutines for C++ -- continuations in plain C using setjmp()/longjmp() -- many useful links - a chapter on call/cc from An introduction to Scheme and its implementations

InteLibWiki PageList RecentChanges PageHistory