2000
DOI: 10.1007/3-540-46432-8_6
|View full text |Cite
|
Sign up to set email alerts
|

Typing Local Definitions and Conditional Expressions with Rank 2 Intersection (Extended Abstract)

Abstract: Abstract. We introduce a variant of the system of rank 2 intersection types with new typing rules for local definitions (let-expressions and letrec-expressions) and conditional expressions (if-expressions and case-expressions). These extensions are a further step towards the use of intersection types in "real" programming languages.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2003
2003
2011
2011

Publication Types

Select...
4

Relationship

2
2

Authors

Journals

citations
Cited by 4 publications
(3 citation statements)
references
References 14 publications
(24 reference statements)
0
3
0
Order By: Relevance
“…The key idea for this system is to restrict the set of types to those of the shape (σ 1 ∩ · · · ∩σ n )→τ, where the σ i are types that do not contain intersections. This kind of type later was used outside the context of the λ-calculus [8,9,28,30,58]; many decidable restrictions of various ranks were later defined by [45], [46].…”
Section: Given a Term M Are There A Context γ And A Type σ Such Thatmentioning
confidence: 99%
“…The key idea for this system is to restrict the set of types to those of the shape (σ 1 ∩ · · · ∩σ n )→τ, where the σ i are types that do not contain intersections. This kind of type later was used outside the context of the λ-calculus [8,9,28,30,58]; many decidable restrictions of various ranks were later defined by [45], [46].…”
Section: Given a Term M Are There A Context γ And A Type σ Such Thatmentioning
confidence: 99%
“…An extended abstract describing a preliminary version of the system presented in this paper appeared as Damiani [2000].…”
Section: Organization Of the Papermentioning
confidence: 99%
“…The key idea is that of performing Hindley/Milner type inference and useless-code detection at the same type. Since rank 2 conjunctive type inference algorithms for ML-like functional languages have been proposed in the literature (Jim 1996;Damiani 2000b) (see also Banerjee (1997), where a type-based closure analysis based on the rank 2 type system of Jim (1996) is proposed), an interesting possibility could be that of modifying such algorithms to detect useless code (as done in Kobayashi (2000) for the Hindley/Milner type inference algorithm). Further opportunities might come from more powerful conjunctive type inference algorithms such as those based on finite rank conjunction types (Kfoury and Wells 1999) and polar types (Jim 2000).…”
Section: Related Work and Conclusionmentioning
confidence: 99%