计算机科学 > 程序设计语言
[提交于 2020年10月15日]
标题:Refinement Types: A Tutorial
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Refinement types enrich a language's type system with logical predicates that circumscribe the set of values described by the type, thereby providing software developers a tunable knob with which to inform the type system about what invariants and correctness properties should be checked on their code. In this article, we distill the ideas developed in the substantial literature on refinement types into a unified tutorial that explains the key ingredients of modern refinement type systems. In particular, we show how to implement a refinement type checker via a progression of languages that incrementally add features to the language or type system.
提交历史
来自:Ranjit Jhala[v1] 2020年10月15日 星期四 14:05:27 UTC