arXiv · 1312.2334
Inferring Algebraic Effects
Abstract
We present a complete polymorphic effect inference algorithm for an ML-style language with handlers of not only exceptions, but of any other algebraic effect such as input & output, mutable references and many others. Our main aim is to offer the programmer a useful insight into the effectful behaviour of programs. Handlers help here by cutting down possible effects and the resulting lengthy output that often plagues precise effect systems. Additionally, we present a set of methods that further simplify the displayed types, some even by deliberately hiding inferred information from the programmer.
Explore related subjects
Keep this discovery
Matija Pretnar. 2013-12-09. Inferring Algebraic Effects. https://doi.org/10.2168/lmcs-10(3:21)2014
Cite the original work for its findings. Save a collection to share your selection of sources.