delimited continuation
nounEtymology So named because they capture only a portion of the call stack.
1
A continuation that returns a value and can be composed.
Functional programming
- An interesting alternative, which addresses some of the modularity problems, is a delimited continuation; for example, a delimited continuation might capture just a portion of the evaluation stack, up to a delimiter that works a bit like long-label, and turn it into a function.2022, Norman Ramsey, Programming Languages: Build, Prove, and Compare, Cambridge University Press, →ISBN, page 243:
- Related terms
- coroutine