Asynchronous exceptions in Haskell
Simon Marlow, Simon Jones, Andrew Moran et al. · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2001
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.
Cited by 81 works. doi:10.1145/378795.378858
Authors
References
- The Definition of Standard ML
- The Java Programming Language
- Report on the programming language Haskell
- Systems programming with Modula-3
- The Java programming language (2nd ed.)
- The Definition of Standard ML (Revised)
- The Polyadic π-Calculus: a Tutorial
- Concurrent Programming in Erlang
- Queue-based multi-processing LISP
- Concurrent Haskell