Handling Algebraic Effects
Not on the map. Why?
Abstract (arXiv)
Algebraic effects are computational effects that can be represented by an equational theory whose operations produce the effects at hand. The free model of this theory induces the expected computational monad for the corresponding effect. Algebraic effects include exceptions, state, nondeterminism, interactive input/output, and time, and their combinations. Exception handling, however, has so far received no algebraic treatment. We present such a treatment, in which each handler yields a model of the theory for exceptions, and each handling construct yields the homomorphism induced by the universal property of the free model. We further generalise exception handlers to arbitrary algebraic effects. The resulting programming construct includes many previously unrelated examples from both theory and practice, including relabelling and restriction in Milner's CCS, timeout, rollback, and stream redirection.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Dec 2013.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 0; 2025: 2; 2026: 2.
5 papers.
- 2025Sharing State Between Prompts and Programscited by 2
- 2026Algebraic Semantics of Governed Execution: Monoidal Categories, Effect Algebras, and Coterminous Boundariescited by 1
- 2022On Reinforcement Learning, Effect Handlers, and the State Monadcited by 0
- 2025Towards a unified framework for programming paradigms: A systematic review of classification formalisms and methodological foundationscited by 0
- 2026ETAS: An Effect-Typed Language for Agent Systemscited by 0
- 2026ETAS: An Effect-Typed Language for Agent Systems20 Jul 2026
- 2026Algebraic Semantics of Governed Execution: Monoidal Categories, Effect Algebras, and Coterminous Boundaries1 May 2026
- 2025Sharing State Between Prompts and Programs16 Dec 2025
- 2025Towards a unified framework for programming paradigms: A systematic review of classification formalisms and methodological foundations1 Aug 2025
- 2022On Reinforcement Learning, Effect Handlers, and the State Monad29 Mar 2022