Qualifying System F<:: Some Terms and Conditions May Apply

Edward Lee, Yaoyu Zhao,Ondřej Lhoták, James You, Kavin Satheeskumar,Jonathan Immanuel Brachthäuser

Proceedings of the ACM on Programming Languages(2024)

引用 0|浏览0
暂无评分
摘要
Type qualifiers offer a lightweight mechanism for enriching existing type systems to enforce additional, desirable, program invariants. They do so by offering a restricted but effective form of subtyping. While the theory of type qualifiers is well understood and present in many programming languages today, polymorphism over type qualifiers remains an area less well examined. We explore how such a polymorphic system could arise by constructing a calculus, System F-sub-Q, which combines the higher-rank bounded polymorphism of System F-sub with the theory of type qualifiers. We explore how the ideas used to construct System F-sub-Q can be reused in situations where type qualifiers naturally arise---in reference immutability, function colouring, and capture checking. Finally, we re-examine other qualifier systems in the literature in light of the observations presented while developing System F-sub-Q.
更多
查看译文
关键词
System F-sub,Type Qualifiers,Type Systems
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要