Work

Reference Mutability for DOT

Year: 2020
Type: article
Abstract: Reference mutability is a type-based technique for controlling mutation that has been thoroughly studied in Java. We explore how reference mutability interacts with the features of Scala by adding it to the Dependent Object Types (DOT) calculus. Our extension shows how reference mutability can be encoded using existing Scala features such as path-dependent, intersection, and union types. We prove type soundness and the immutability guarantee provided by our calculus.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W3108611594
FWCI: 0.231
Cites: 17
Cited by: 7
Related to: 10