paperbot · PL 论文追踪

RSS

Capturing Types

TOPLAS 45(4)2023
Aleksander Boruch-Gruszecki, Martin Odersky, Edward Lee, Ondřej Lhoták, Jonathan Brachthäuser

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

原文摘要(Abstract)

Type systems usually characterize the shape of values but not their free variables. However, many desirable safety properties could be guaranteed if one knew the free variables captured by values. We describe CC < :◻ , a calculus where such captured variables are succinctly represented in types, and show it can be used to safely implement effects and effect polymorphism via scoped capabilities. We discuss how the decision to track captured variables guides key aspects of the calculus, and show that CC < :◻ admits simple and intuitive types for common data structures and their typical usage patterns. We demonstrate how these ideas can be used to guide the implementation of capture checking in a practical programming language.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot2123,
  title = {Capturing Types},
  author = {Aleksander Boruch-Gruszecki and Martin Odersky and Edward Lee and Ondřej Lhoták and Jonathan Brachthäuser},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {45},
  number = {4},
  year = {2023},
  doi = {10.1145/3618003}
}