Abstract
Delimited continuations are more expressive than traditional abortive continuations and they apparently require a framework beyond traditional continuation-passing style (CPS). We show that this is not the case: standard CPS is sufficient to explain the common control operators for delimited continuations. We demonstrate this fact and present an implementation as a Scheme library. We then investigate a typed account of delimited continuations that makes explicit where control effects can occur. This results in a monadic framework for typed and encapsulated delimited continuations, which we design and implement as a Haskell library.
Cite
CITATION STYLE
Dyvbig, R. K., Jones, S. P., & Sabry, A. M. R. (2007). A monadic framework for delimited continuations. Journal of Functional Programming, 17(6), 687–730. https://doi.org/10.1017/S0956796807006259
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.