paperbot · PL 论文追踪

RSS

Scoped Effects, Scoped Operations, and Parameterized Algebraic Theories

TOPLAS 47(2)2025
Cristina Matache, Sam Lindley, Sean Moss, Sam Staton, Nicolas Wu, Zhixuan Yang

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Notions of computation can be modeled by monads. Algebraic effects offer a characterization of monads in terms of algebraic operations and equational axioms, where operations are basic programming features, such as reading or updating the state, and axioms specify observably equivalent expressions. However, many useful programming features depend on additional mechanisms such as delimited scopes or dynamically allocated resources. Such mechanisms can be supported via extensions to algebraic effects including scoped effects and parameterized algebraic theories . We present a fresh perspective on scoped effects by translation into a variation of parameterized algebraic theories. The translation enables a new approach to equational reasoning for scoped effects and gives rise to an alternative characterization of monads in terms of generators and equations involving both scoped and algebraic operations. We demonstrate the power of our approach by way of equational characterizations of several known models of scoped effects.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot3310,
  title = {Scoped Effects, Scoped Operations, and Parameterized Algebraic Theories},
  author = {Cristina Matache and Sam Lindley and Sean Moss and Sam Staton and Nicolas Wu and Zhixuan Yang},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {47},
  number = {2},
  year = {2025},
  doi = {10.1145/3731678}
}