2019
DOI: 10.1145/3290329
|View full text |Cite
|
Sign up to set email alerts
|

Gradual typing: a new perspective

Abstract: We define a new, more semantic interpretation of gradual types and use it to łgradualizež two forms of polymorphism: subtyping polymorphism and implicit parametric polymorphism. In particular, we use the new interpretation to define three gradual type systems ÐHindley-Milner, with subtyping, and with union and intersection typesÐ in terms of two preorders, subtyping and materialization. These systems are defined both declaratively and algorithmically. The declarative presentation consists in adding two subsump… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
20
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
5
2
2

Relationship

0
9

Authors

Journals

citations
Cited by 29 publications
(20 citation statements)
references
References 52 publications
0
20
0
Order By: Relevance
“…In [23] set-theoretic types are combined with polymorphic gradual typing by means of a single typing rule which prescribes where casts must be added. A significant problem is that a direct set-theoretic interpretation of the constructor "?"…”
Section: Semantic Subtypingmentioning
confidence: 99%
“…In [23] set-theoretic types are combined with polymorphic gradual typing by means of a single typing rule which prescribes where casts must be added. A significant problem is that a direct set-theoretic interpretation of the constructor "?"…”
Section: Semantic Subtypingmentioning
confidence: 99%
“…Researchers have explored many interpretations and extensions of gradual types. Future work could pursue type migration that supports subtyping [Garcia et al 2016;Siek and Taha 2007;Vitousek et al 2014], refinement types [Lehmann and Éric Tanter 2017], monotonic references [Siek et al 2015b], and polymorphism and set theoretic types [Castagna et al 2019]. In particular, future work can consider our decision problems for those richer type systems.…”
Section: Related Workmentioning
confidence: 99%
“…A gradual treatment of record types may be found in the paper on Abstract Gradual Typing (AGT) (Garcia et al, 2016). Variant types have proved elusive, but union types have been considered (Siek & Tobin-Hochstadt, 2016) along with intersection types and polymorphism as part of a set-theoretical reevaluation of gradual principles (Castagna et al, 2019).…”
Section: Gradual Typingmentioning
confidence: 99%