Write a Blog >>
Scala 2017
Sun 22 - Mon 23 October 2017 Vancouver, Canada
co-located with SPLASH 2017
Sun 22 Oct 2017 10:30 - 11:00 at Regency C - Types Chair(s): Anthony Sloane

The Dependent Object Types (DOT) calculus formalizes key features of Scala. The D<: calculus is the core of DOT. To date, presentations of D<: have used declarative, as opposed to algorithmic, typing and subtyping rules. Unfortunately, algorithmic typing for full D<: is known to be an undecidable problem.

We explore the design space for a restricted version of D<: that has decidable typechecking. Even in this simplified D<:, algorithmic typing and subtyping are tricky, due to the ``bad bounds'' problem. The Scala compiler bypasses bad bounds at the cost of a loss in expressiveness in its type system. Based on the approach taken in the Scala compiler, we present the Step Typing and Step Subtyping relations for D<:. These relations are sound and decidable. They are not complete with respect to the original D<: typing rules.

Towards Algorithmic Typing for DOT (slides) (pres.pdf)252KiB

Sun 22 Oct

10:30 - 12:00: Scala 2017 - Types at Regency C
Chair(s): Anthony SloaneMacquarie University
scala-2017-papers150866100000010:30 - 11:00
Abel NietoUniversity of Waterloo
DOI Pre-print File Attached
scala-2017-papers150866280000011:00 - 11:30
Adelbert ChangUnaffiliated
DOI Pre-print
scala-2017-papers150866460000011:30 - 12:00
Leo OsvaldPurdue University, USA, Tiark RompfPurdue University
DOI Media Attached