Work

A monadic framework for delimited continuations

Year: 2007
Type: article
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.
Institution: Indiana University
Language: English
Subfield: Software
Open Access status: hybrid
Estimated APC paid: $2,660
OpenAlex ID: W2086744387
FWCI: 12.16
Cites: 38
Cited by: 104
Related to: 9