[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.13.5 Prompts
Prompts are control-flow barriers between different parts of a program. In the same way that a user sees a shell prompt (e.g., the Bash prompt) as a barrier between the operating system and her programs, Scheme prompts allow the Scheme programmer to treat parts of programs as if they were running in different operating systems.
We use this roundabout explanation because, unless you’re a functional programming junkie, you probably haven’t heard the term, “delimited, composable continuation”. That’s OK; it’s a relatively recent topic, but a very useful one to know about.
6.13.5.1 Prompt Primitives | Call-with-prompt and abort-to-prompt. | |
6.13.5.2 Shift, Reset, and All That | The zoo of delimited control operators. |
This document was generated on April 20, 2013 using texi2html 5.0.