2021
DOI: 10.1007/978-3-030-71995-1_17
|View full text |Cite
|
Sign up to set email alerts
|

Parametricity for Primitive Nested Types

Abstract: This paper considers parametricity and its resulting free theorems for nested data types. Rather than representing nested types via their Church encodings in a higher-kinded or dependently typed extension of System F, we adopt a functional programming perspective and design a Hindley-Milner-style calculus with primitives for constructing nested types directly as fixpoints. Our calculus can express all nested types appearing in the literature, including truly nested types. At the term level, it supports primiti… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
2
1
1

Relationship

1
3

Authors

Journals

citations
Cited by 4 publications
(1 citation statement)
references
References 21 publications
0
1
0
Order By: Relevance
“…However, both they and their attendant properties differ greatly for proper GADTs. In fact, the functorial and parametric semantics for proper GADTs are sufficiently disparate that, by contrast with the semantics customarily given for ADTs and nested types [2,7,11], it is not at all clear how to define a functorial parametric semantics for GADTs [10].…”
Section: Introductionmentioning
confidence: 99%
“…However, both they and their attendant properties differ greatly for proper GADTs. In fact, the functorial and parametric semantics for proper GADTs are sufficiently disparate that, by contrast with the semantics customarily given for ADTs and nested types [2,7,11], it is not at all clear how to define a functorial parametric semantics for GADTs [10].…”
Section: Introductionmentioning
confidence: 99%