Publication View

Handlers of Algebraic Effects (2009)

Abstract
Abstract. We present an algebraic treatment of exception handlers and, more generally, introduce handlers for other computational effects representable by an algebraic theory. These include nondeterminism, interactive input/output, concurrency, state, time, and their combinations; in all cases the computation monad is the free-model monad of the theory. Each such handler corresponds to a model of the theory for the effects at hand. The handling construct, which applies a handler to a computation, is based on the one introduced by Benton and Kennedy, and is interpreted using the homomorphism induced by the universal property of the free model. This general construct can be used to describe previously unrelated concepts from both theory and practice. 1

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.143.9808
Source http://www.dcs.ed.ac.uk/home/gdp/publications/Effect_Handlers.pdf
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Type text
Language English
Relation 10.1.1.41.840, 10.1.1.26.2787, 10.1.1.48.8807, 10.1.1.46.2016, 10.1.1.22.2642, 10.1.1.37.5845, 10.1.1.144.1841, 10.1.1.58.9582, 10.1.1.59.287, 10.1.1.129.8945, 10.1.1.64.2946