2006
DOI: 10.1145/1111320.1111047
|View full text |Cite
|
Sign up to set email alerts
|

Polymorphic regular tree types and patterns

Abstract: We propose a type system based on regular tree grammars, where algebraic datatypes are interpreted in a structural way. Thus, the same constructors can be reused for different types and a flexible subtyping relation can be defined between types, corresponding to the inclusion of their semantics. For instance, one can define a type for lists and a subtype of this type corresponding to lists of even length. Patterns are simply types annotated with binders. This provides a generalization of algebraic patterns wit… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2009
2009
2009
2009

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(1 citation statement)
references
References 11 publications
0
1
0
Order By: Relevance
“…It roughly resembles rules in the literature for subtyping in the presence of unions and products (Hosoya et al 2000;Vouillon 2006). We can also observe a loose duality with the rule for checking continuations, particularly that this rule exploits the distributivity of intersections through unions.…”
Section: Refinement Typing Of Pattern-compiled Proofsmentioning
confidence: 64%
“…It roughly resembles rules in the literature for subtyping in the presence of unions and products (Hosoya et al 2000;Vouillon 2006). We can also observe a loose duality with the rule for checking continuations, particularly that this rule exploits the distributivity of intersections through unions.…”
Section: Refinement Typing Of Pattern-compiled Proofsmentioning
confidence: 64%