Local Algebraic Effect Theories
Logic in Computer Science
2020-05-29 v1 Programming Languages
Abstract
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.
Cite
@article{arxiv.2005.13654,
title = {Local Algebraic Effect Theories},
author = {Žiga Lukšič and Matija Pretnar},
journal= {arXiv preprint arXiv:2005.13654},
year = {2020}
}
Comments
24 pages, 8 figures