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

Gradual parametricity, revisited

Abstract: Bringing the bene ts of gradual typing to a language with parametric polymorphism like System F, while preserving relational parametricity, has proven extremely challenging: rst a empts were formulated a decade ago, and several designs were recently proposed. Among other issues, these proposals can however signal parametricity errors in unexpected situations, and improperly handle type instantiations when imprecise types are involved. ese observations further suggest that existing polymorphic cast calculi are … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
34
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
7
2

Relationship

1
8

Authors

Journals

citations
Cited by 20 publications
(34 citation statements)
references
References 51 publications
(105 reference statements)
0
34
0
Order By: Relevance
“…As already mentioned, generative semantics has found applications in the study of polymorphic exceptions and dynamically allocated mutable references. More recently, generative semantics has been defined, and investigated, for polymorphic blame calculi [Ahmed et al 2017;Toro et al 2019] that marry polymorphic static typing with dynamic typing. In such semantics it is type instances that are dynamically generated and have to be kept track of in the logical relation that is meant to ensure parametricity of the type system.…”
Section: Logical Relations For Generative Semanticsmentioning
confidence: 99%
“…As already mentioned, generative semantics has found applications in the study of polymorphic exceptions and dynamically allocated mutable references. More recently, generative semantics has been defined, and investigated, for polymorphic blame calculi [Ahmed et al 2017;Toro et al 2019] that marry polymorphic static typing with dynamic typing. In such semantics it is type instances that are dynamically generated and have to be kept track of in the logical relation that is meant to ensure parametricity of the type system.…”
Section: Logical Relations For Generative Semanticsmentioning
confidence: 99%
“…6 GDTL: RUNTIME SEMANTICS With the type system for GDTL realized, we turn to its dynamic semantics. Following the approaches of and Toro et al [2018b], we let the syntactic type-safety proof for the static SDTL drive its design. In place of a cast calculus, gradual terms carry evidence that they match their type, and computation steps evolve that evidence incrementally.…”
Section: Properties Of Approximate Normalizationmentioning
confidence: 99%
“…It mirrors the syntax for gradual terms, with two main changes. In place of type ascriptions, we have a special form for terms augmented with evidence, following Toro et al [2018b]. We also have err, an explicit term for runtime type errors.…”
Section: Properties Of Approximate Normalizationmentioning
confidence: 99%
“…Gradual typing allows exploratory programming and prototyping to be done in a forgiving, dynamically typed style, while later that code can be typed to ease readability and refactoring. Due to this appeal, there has been a great deal of research on extending gradual typing [37,34] to numerous language features such as parametric polymorphism [21,2,16,40], effect tracking [3], typestate [44], session types [15], refinement types [18] and security types [39]. Almost all work on gradual typing is based solely on operational semantics, and recent work such as [33] has codified some of the central design principles of gradual typing in an operational setting.…”
Section: Introductionmentioning
confidence: 99%