Local Algebraic Effect Theories

05/27/2020
by   Žiga Lukšič, et al.
0

Algebraic effects are computational effects that can be described with a set of basic operations and equations between them. As many interesting effect handlers do not respect these equations, most approaches assume a trivial theory, sacrificing both reasoning power and safety. We present an alternative approach where the type system tracks equations that are observed in subparts of the program, yielding a sound and flexible logic, and paving a way for practical optimizations and reasoning tools.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/14/2022

Category-Graded Algebraic Theories and Effect Handlers

We provide an effect system CatEff based on a category-graded extension ...
research
03/04/2021

Contextual Modal Types for Algebraic Effects and Handlers

Programming languages with algebraic effects often rely on effect annota...
research
03/18/2020

Signature restriction for polymorphic algebraic effects

It has been well known that naively combining polymorphic effects and po...
research
01/25/2022

Structured Handling of Scoped Effects: Extended Version

Algebraic effects offer a versatile framework that covers a wide variety...
research
08/14/2017

TheoSea: Marching Theory to Light

There is sufficient information in the far-field of a radiating dipole a...
research
05/28/2020

Explicit Effect Subtyping

As popularity of algebraic effects and handlers increases, so does a dem...
research
03/22/2020

A Trustful Monad for Axiomatic Reasoning with Probability and Nondeterminism

The algebraic properties of the combination of probabilistic choice and ...

Please sign up or login with your details

Forgot password? Click here to reset