A Monadic Framework for Delimited Continuations

dc.contributor.authorDybvig, Kent; Peyton Jones, Simon; Sabry, Amr
dc.date.accessioned2025-11-12T20:52:43Z
dc.date.available2025-11-12T20:52:43Z
dc.date.issued2005-06
dc.description.abstractDelimited continuations are more expressive than traditional abortive continuations and they apparently seem to 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.
dc.identifier.urihttps://hdl.handle.net/2022/34463
dc.relation.ispartofseriesIndiana University Computer Science Technical Reports; TR615
dc.rightsThis work is protected by copyright unless stated otherwise.
dc.rights.uri
dc.titleA Monadic Framework for Delimited Continuations

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR615.pdf
Size:
312.32 KB
Format:
Adobe Portable Document Format
Can’t use the file because of accessibility barriers? Contact us