Programming with algebraic effects and handlers

From MaRDI portal
Publication:478396

DOI10.1016/J.JLAMP.2014.02.001zbMATH Open1304.68025arXiv1203.1539OpenAlexW3103594074WikidataQ115902568 ScholiaQ115902568MaRDI QIDQ478396FDOQ478396


Authors: Andrej Bauer, Matija Pretnar Edit this on Wikidata


Publication date: 3 December 2014

Published in: Journal of Logical and Algebraic Methods in Programming (Search for Journal in Brave)

Abstract: Eff is a programming language based on the algebraic approach to computational effects, in which effects are viewed as algebraic operations and effect handlers as homomorphisms from free algebras. Eff supports first-class effects and handlers through which we may easily define new computational effects, seamlessly combine existing ones, and handle them in novel ways. We give a denotational semantics of eff and discuss a prototype implementation based on it. Through examples we demonstrate how the standard effects are treated in eff, and how eff supports programming techniques that use various forms of delimited continuations, such as backtracking, breadth-first search, selection functionals, cooperative multi-threading, and others.


Full work available at URL: https://arxiv.org/abs/1203.1539




Recommendations



Cites Work


Cited In (48)

Uses Software





This page was built for publication: Programming with algebraic effects and handlers

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q478396)