Sound polymorphic type inference for objects

Jonathan Eifrig, Scott F. Smith, Valery Trifonov · ACM SIGPLAN Notices · 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 14 works. doi:10.1145/217839.217858 Open-access PDF

Authors

References