A Generic Approach to Flow-Sensitive Polymorphic Effects (Extended Version)
Colin S. Gordon

TL;DR
This paper introduces effect quantales, an algebraic structure that models sequential effect systems with order sensitivity, providing a unified framework and new insights into their design and iteration mechanisms.
Contribution
It presents effect quantales as a novel algebraic foundation for sequential effect systems, enabling a general and principled approach to their design and iteration.
Findings
Effect quantales model a range of existing sequential effect systems.
Derived iteration aligns with prior manually designed operators.
Provides algebraic insights guiding the design of order-sensitive effect systems.
Abstract
Effect systems are lightweight extensions to type systems that can verify a wide range of important properties with modest developer burden. But our general understanding of effect systems is limited primarily to systems where the order of effects is irrelevant. Understanding such systems in terms of a lattice of effects grounds understanding of the essential issues, and provides guidance when designing new effect systems. By contrast, sequential effect systems --- where the order of effects is important --- lack a clear algebraic characterization. We derive an algebraic characterization from the shape of prior concrete sequential effect systems. We present an abstract polymorphic effect system with singleton effects parameterized by an effect quantale --- an algebraic structure with well-defined properties that can model a range of existing order-sensitive effect systems. We define…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Software Engineering Research · Formal Methods in Verification
