An Effect System for Algebraic Effects and Handlers
Open accessThe DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.
Abstract
We present an effect system for core Eff, a simplified variant of Eff, which is an ML-style programming language with first-class algebraic effects and handlers. We define an expressive effect system and prove safety of operational semantics with respect to it. Then we give a domain-theoretic denotational semantics of core Eff, using Pitts's theory of minimal invariant relations, and prove it adequate. We use this fact to develop tools for finding useful contextual equivalences, including an induction principle. To demonstrate their usefulness, we use these tools to derive the usual equations for mutable state, including a general commutativity law for computations using non-interfering references. We have formalized the effect system, the operational semantics, and the safety theorem in Twelf.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Algebraic Operations and Generic Effects
Plotkin, G., & Power, J. (2003) · Applied Categorical Structures · doi:10.1023/a:1023064908962 · Cited by 250 · cited 3×
“An outline of a set-theoretic algebraic semantics of computational effects, as developed by [1, 4, 14, 15, 16], is shown in the following table.”
BackgroundPlotkin, G., & Pretnar, M. (2009) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-00590-9_7 · Cited by 225 · cited 3×
“An outline of a set-theoretic algebraic semantics of computational effects, as developed by [1, 4, 14, 15, 16], is shown in the following table.”
BackgroundSelf-citation
Cited by
Type directed compilation of row-typed algebraic effects
Leijen, D. (2017) · Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages · doi:10.1145/3009837.3009872 · Cited by 98
Liberating effects with rows and handlers
Hillerström, D., & Lindley, S. (2016) · Proceedings of the 1st International Workshop on Type-Driven Development · doi:10.1145/2976022.2976033 · Cited by 68
“sig gametree : (Comp({Move:(Player,Int) {}-> Int |e}, Player)) -> Comp({Move|e}, GTree) handler gametree { case Return(x) -> Winner(x) case Move(p,n,k) -> var subgames = map(k, validMoves(n)); var subtrees = zip([1,2,3], subgames); Take(p, subtrees) }”
BackgroundBinders by day, labels by night: effect instances via lexically scoped handlers
Biernacki, D., Piróg, M., Polesiuk, P., & Sieczkowski, F. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3371116 · Cited by 46
“To classify these new modes of expression, languages with effect handlers usually come equipped with a type-and-effect system [Bauer and Pretnar 2014; Hillerström and Lindley 2016], which gives static guarantees on the effects that each expression can perform.”
MethodHandle with care: relational interpretation of algebraic effects and handlers
Biernacki, D., Piróg, M., Polesiuk, P., & Sieczkowski, F. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3158096 · Cited by 45
Abstraction-safe effect handlers via tunneling
Zhang, Y., & Myers, A. C. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290318 · Cited by 45
Metadata
- Authors
- Bauer, A., & Pretnar, M.
- Venue
- Logical Methods in Computer Science
- Published
- 2014-12-10
- Volume
- Volume 10, Issue 4
- ISSN
- 1860-5974 (ISSN-L)
- OpenAlex
- W2949330042
- Cited by
- 55
- References
- 2
- FWCI
- 5.61
- Type
- journal article
- Language
- en
- Open access
- diamond
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.