scheme continuations for dummies
Forget about call/cc for a moment. Every expression/statement, in any programming language, has a continuation – which is, what you do with the result. In C, for example, x = (1 + (2 * 3)); printf (“Done”); has the continuation of the math assignment being printf(…); the continuation of (2 * 3) is ‘add 1; … Read more