Proceedings of the 11th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages - POPL '84 1984
DOI: 10.1145/800017.800529
|View full text |Cite
|
Sign up to set email alerts
|

Coercion and type inference

Abstract: A sinlple semantic model of automatic coercion is proposed. This modcl is used to explain four nlles for inferring polymorphic types and providing automatic coercions between types. With the addition ofa fifth rule. the rules become semantically c',mq~lete but the set of types associated with an expression may be undecidable. An cMcient type chcckio.g algorithm based on the Ih'st Ibur rules is presented. The algorithm is guaranteed to find a type whenever a type can be dedttccd ,sing the four inference rules. … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
77
0

Year Published

1992
1992
2009
2009

Publication Types

Select...
6
2
1

Relationship

0
9

Authors

Journals

citations
Cited by 154 publications
(77 citation statements)
references
References 16 publications
0
77
0
Order By: Relevance
“…Mitchell [8,9] introduced the problem of type reconstruction with coercions, including atomic coercions, and sketched the main algorithms for the case of well-founded types. This work concentrated on generating the set of atomic coercions that must hold among' the base types.…”
Section: A}-m:s Smentioning
confidence: 99%
See 1 more Smart Citation
“…Mitchell [8,9] introduced the problem of type reconstruction with coercions, including atomic coercions, and sketched the main algorithms for the case of well-founded types. This work concentrated on generating the set of atomic coercions that must hold among' the base types.…”
Section: A}-m:s Smentioning
confidence: 99%
“…John Mitchell, in his seminal paper [8,9], considered a system for type reconstruction for A-terms in whidl the set of types is augmented with a partial order (the subtype order), and the type inference rules are augmented with the subsumptiou rule…”
Section: Introductionmentioning
confidence: 99%
“…For example, in object-oriented languages, the partial order is the inheritance hierarchy, and in languages that support type conversion, the relation in the partial order is the conversion relation, such as Int ≤ Double, which means that an integer can be converted to a double. This latter relation is sometimes considered as subtyping between primitive data types [Mit84]. In the Ptolemy II data type system, the type hierarchy if further constrained to be a lattice, and type constraints are formulated and solved over the lattice [XiL00] [Xio02].…”
Section: Introductionmentioning
confidence: 99%
“…For example, in object-oriented languages, the partial order is the inheritance hierarchy, and in languages that support type conversion, the relation in the partial order is the conversion relation, such as int ≤ double, which means that an integer can be converted to a double. This latter relation is sometimes considered as subtyping between primitive data types [12]. In the Ptolemy II data type system, the type hierarchy if further constrained to be a lattice, and type constraints are formulated and solved over the lattice [15].…”
Section: Introductionmentioning
confidence: 99%