paperbot · PL 论文追踪

RSS

Decidable subtyping for path dependent types

POPL 4(POPL)2019
Julian Mackay, Alex Potanin, Jonathan Aldrich, Lindsay Groves

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

原文摘要(Abstract)

Path dependent types have long served as an expressive component of the Scala programming language. They allow for the modelling of both bounded polymorphism and a degree of nominal subtyping. Nominality in turn provides the ability to capture first class modules. Thus a single language feature gives rise to a rich array of expressiveness. Recent work has proven path dependent types sound in the presence of both intersection and recursive types, but unfortunately typing remains undecidable, posing problems for programmers who rely on the results of type checkers. The Wyvern programming language is an object oriented language with path dependent types, recursive types and first class modules. In this paper we define two variants of Wyvern that feature decidable typing, along with machine checked proofs of decidability. Despite the restrictions, our approaches retain the ability to encode the parameteric polymorphism of Java generics along with many idioms of the Scala module system.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot554,
  title = {Decidable subtyping for path dependent types},
  author = {Julian Mackay and Alex Potanin and Jonathan Aldrich and Lindsay Groves},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {4},
  number = {POPL},
  year = {2019},
  doi = {10.1145/3371134}
}