2011
DOI: 10.4204/eptcs.45.5
|View full text |Cite
|
Sign up to set email alerts
|

Untangling Typechecking of Intersections and Unions

Abstract: Intersection and union types denote conjunctions and disjunctions of properties. Using bidirectional typechecking, intersection types are relatively straightforward, but union types present challenges. For union types, we can case-analyze a subterm of union type when it appears in evaluation position (replacing the subterm with a variable, and checking that term twice under appropriate assumptions). This technique preserves soundness in a call-by-value semantics. Sadly, there are so many choices of subterms th… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2

Citation Types

0
4
0

Year Published

2012
2012
2014
2014

Publication Types

Select...
3
1
1

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(4 citation statements)
references
References 25 publications
0
4
0
Order By: Relevance
“…For further discussion of this rule, see Dunfield and Pfenning (2003). Finally, note that the evaluation context E need not be unique, which creates some difficulties for practical typechecking (Dunfield, 2011).…”
Section: Union Typesmentioning
confidence: 99%
See 1 more Smart Citation
“…For further discussion of this rule, see Dunfield and Pfenning (2003). Finally, note that the evaluation context E need not be unique, which creates some difficulties for practical typechecking (Dunfield, 2011).…”
Section: Union Typesmentioning
confidence: 99%
“…The evaluation context E need not be unique, which creates some difficulties for practical typechecking (Dunfield 2011). For further discussion of this rule, see Dunfield and Pfenning (2003).…”
Section: Union Typesmentioning
confidence: 99%
“…They propose an evaluation context restriction that recovers soundness, but this is not enough to make type-checking efficient. In recent work, Dunfield [72], shows that carefully transforming programs into let-normal form improves efficiency. This is encouraging, since our expressions are already in let-normal form, so we can hope to replace the case construct by a normal let in the future, and still preserve efficient type-checking.…”
Section: Related Work On Unions and Intersectionsmentioning
confidence: 99%
“…They propose an evaluation context restriction that recovers soundness, but this is not enough to make type-checking efficient. In recent work, Dunfield [27], shows that carefully transforming programs into let-normal form improves efficiency. This is encouraging, since our expressions are already in let normal form, so we can hope to replace the case construct by a normal let in the future, and still preserve efficient type-checking.…”
Section: Related Work On Unions and Intersectionsmentioning
confidence: 99%