In programming languages, a delimited continuation, composable continuation or partial continuation, is a "slice" of a continuation frame that has been reified into a function. Unlike regular continuations, delimited continuations return a value, and thus may be reused and composed. Control delimiters, the basis of delimited continuations, were introduced by Matthias Felleisen in 1988[1] though early allusions to composable and delimited continuations can be found in Carolyn Talcott's Stanford 1984 dissertation, Felleisen et al.,[2] Felleisen's 1987 dissertation,[3] and algorithms for functional backtracking,
e.g., for pattern matching, for parsing, in the Algebraic Logic Functional programming language, and in the functional implementations of Prolog
where the failure continuation is often kept implicit and the reason of being for the success continuation is that it is composable.
^Felleisen, Matthias (1988). "The theory and practice of first-class prompts". Principles of Programming Languages. pp. 180–190. doi:10.1145/73560.73576. ISBN 0-89791-252-7. S2CID 16705769.
^Felleisen, Matthias (1987). The Calculi of Lambda-v-CS Conversion: A Syntactic Theory of Control and State in Imperative Higher-Order Programming Languages(PDF) (Thesis).
and 16 Related for: Delimited continuation information
way of delimiting this capture. Delimitedcontinuation operators address this by providing two separate control mechanisms: a prompt that delimits a continuation...
The Continuation War, also known as the Second Soviet-Finnish War, was a conflict fought by Finland and Nazi Germany against the Soviet Union during World...
through SXML, SXPath, and SXSLT, HTTP and other World Wide Web APIs, delimitedcontinuations, array programming, and other functionality. Guile programs can...
preferred to the existing C-style strings. In Tcl, brace-delimited strings are literal, while quote-delimited strings have escaping and interpolation. Perl has...
that they have the same expressive power as one-shot continuations and delimitedcontinuations. Full coroutines are either symmetric or asymmetric. Importantly...
runtime, removing the global GC lock and adding effect handlers via delimitedcontinuations. These changes enable support for shared-memory parallelism and...
backslash (\, ASCII 0x5C) as the last character on a line. In such line continuation, backslashes followed immediately by EOL (end-of-line) cause the backslash...
features that language implementors can use, like (composable, delimited) continuations, resource management, etc., a way to specify (and implement) parsers...
maintain the imperial connection. The Unionists accordingly preferred the continuation in power of the SAP to the prospect of an NP government. The vote totals...
London (1839). The border between Belgium and the Netherlands was only delimited by the Boundary Treaty signed in the Hague on 5 November 1842, and the...
baby-boom generation as extending from 1946 through 1964. Others have delimited the baby boom period differently. Authors William Strauss and Neil Howe...
statements, or statements into blocks, to simplify the parser. Line continuation is a feature of some languages where a newline is normally a statement...
the last line, which may contain fewer printable characters. Lines are delimited by whitespace characters according to local (platform-specific) conventions...
the \ + <linefeed> line terminators are a feature of CSS, indicating continuation on the next line. These would be removed by the CSS stylesheet processor...
China who were then allied with Great Britain and the United States in a continuation of Dmitrov's Comitern Popular Front anti-fascist politics, which treated...