Downloads provided by UsageCounts
AbstractAlgebraic effects offer a versatile framework that covers a wide variety of effects. However, the family of operations that delimit scopes are not algebraic and are usually modelled as handlers, thus preventing them from being used freely in conjunction with algebraic operations. Although proposals for scoped operations exist, they are either ad-hoc and unprincipled, or too inconvenient for practical programming. This paper provides the best of both worlds: a theoretically-founded model of scoped effects that is convenient for implementation and reasoning. Our new model is based on an adjunction between a locally finitely presentable category and a category of functorial algebras. Using comparison functors between adjunctions, we show that our new model, an existing indexed model, and a third approach that simulates scoped operations in terms of algebraic ones have equal expressivity for handling scoped operations. We consider our new model to be the sweet spot between ease of implementation and structuredness. Additionally, our approach automatically induces fusion laws of handlers of scoped effects, which are useful for reasoning and optimisation.
Technology, HANDLERS, scoped effects, category heory, FUSION, algebraic theories, Computer Science, Theory & Methods, abstract syntax, Scoped effects, Science & Technology, handlers, Computational effects, Computer Science, Software Engineering, Abstract syntax, computational effects, category theory, Haskell, Computer Science, Algebraic theories, COEQUALIZERS, Handlers, Category theory
Technology, HANDLERS, scoped effects, category heory, FUSION, algebraic theories, Computer Science, Theory & Methods, abstract syntax, Scoped effects, Science & Technology, handlers, Computational effects, Computer Science, Software Engineering, Abstract syntax, computational effects, category theory, Haskell, Computer Science, Algebraic theories, COEQUALIZERS, Handlers, Category theory
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 8 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Top 10% |
| views | 33 | |
| downloads | 28 |

Views provided by UsageCounts
Downloads provided by UsageCounts