NobleBlocks

Research indexJournal article

Asynchronous exceptions in Haskell

Marlow, Jones, Moran and 1 other

Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation1 May 2001

NobleIDark:/48914/w1/20260522/F350E607DOI10.1145/378795.378858

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

Asynchronous exceptions, such as timeouts are important for robust, modular programs, but are extremely difficult to program with — so much so that most programming languages either heavily restrict them or ban them altogether. We extend our earlier work, in which we added synchronous exceptions to Haskell, to support asynchronous exceptions too. Our design introduces scoped combinators for blocking and unblocking asynchronous interrupts, along with a somewhat surprising semantics for operations that can suspend. Uniquely, we also give a formal semantics for our system.

Discussion

Citations

Topics

More

Suggest a correction or report