Sound polymorphic type inference for objects

Jonathan Eifrig, Scott F. Smith, Valery Trifonov · Conference on Object-Oriented Programming Systems, Languages, and Applications · 1995

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.

Cited by 105 works. doi:10.1145/217838.217858 Open-access PDF

Authors

References