Sound Polymorphic Type Inference for Objects (1995)
| Citations: | 99 - 9 self |
BibTeX
@INPROCEEDINGS{Eifrig95soundpolymorphic,
author = {Jonathan Eifrig and Scott Smith and Valery Trifonov},
title = {Sound Polymorphic Type Inference for Objects},
booktitle = {},
year = {1995},
pages = {169--184}
}
Years of Citing Articles
OpenURL
Abstract
A polymorphic, constraint-based type inference algorithm for an object-oriented language is defined. A generalized form of type, polymorphic recursively constrained types, are inferred. These types are expressive enough for typing objects, since they generalize recursive types and F-bounded polymorphism. The well-known tradeoff between inheritance and subtyping is mitigated by the type inference mechanism. Soundness and completeness of type inference are established. 1 Introduction Type inference, the process of automatically inferring type information from untyped programs, is originally due to Hindley and Milner [16]. These ideas have found their way into some recent innovative programming languages, including Standard ML [17]. The type inference problem for object-oriented languages is a challenging one: even simple object-oriented programs require quite advanced features to be present in the type system. One of the main sources of difficulty lies with binary methods, such as an a...







