Mutable WadlerFest DOT

Marianna Rapoport, Ondřej Lhoták
11/23/2016
10 citations
cs.PL

Official code: amaurremi/dot-calculus (24 stars, HTML, last commit 2020-01-19).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Adding extensions to DOT calculus

248HTML, CoqMar 3, 20166 years ago

Similar Papers

Cite this paper

@article{rapoport2016mutable,
  title  = {Mutable WadlerFest DOT},
  author = {Marianna Rapoport and Ondřej Lhoták},
  year   = {2016},
  eprint = {1611.07610},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.07610}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1611.07610.svg)](https://codeofpaper.com/paper/1611.07610)

Discussion