计算机科学 > 程序设计语言
[提交于 2016年11月23日]
标题:Mutable WadlerFest DOT
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The Dependent Object Types (DOT) calculus aims to model the essence of Scala, with a focus on abstract type members, path-dependent types, and subtyping. Other Scala features could be defined by translation to DOT. Mutation is a fundamental feature of Scala currently missing in DOT. Mutation in DOT is needed not only to model effectful computation and mutation in Scala programs, but even to precisely specify how Scala initializes immutable variables and fields (vals). We present an extension to DOT that adds typed mutable reference cells. We have proven the extension sound with a mechanized proof in Coq. We present the key features of our extended calculus and its soundness proof, and discuss the challenges that we encountered in our search for a sound design and the alternative solutions that we considered.
提交历史
来自:Marianna Rapoport[v1] 2016年11月23日 星期三 02:37:51 UTC