Theory and Practice of Object Systems · 1999 · 219 citations · 27 references
ComputingComputer ScienceProgramming LanguagesSemanticsTheory Of ComputationData TypesType CheckingType SystemsDatatypes TheoryEquational LogicGeneric AlgorithmsPolymorphic Type SystemsPolymorphic TypesType ConstraintsType InferenceType Theory
We present a general framework HM(X) for type systems with constraints. The framework stays in the tradition of the Hindley/Milner type system. Its type system instances are sound under a standard untyped compositional semantics. We can give a generic type inference algorithm for HM(X) so that, under sufficient conditions on X, type inference will always compute the principal type of a term. We discuss instances of the framework that deal with polymorphic records, equational theories, and subtypes. © 1999 John Wiley & Sons, Inc.
27
A theory of type polymorphism in programming
Robin Milner · Journal of Computer and System Sciences · 1978 · 2.2K citations · Full text
Constraint logic programming: a survey
Joxan Jaffar, Michael J. Maher · The Journal of Logic Programming · 1994 · 1.3K citations
Principal type-schemes for functional programs
Robin Milner · 1982 · 1.1K citations
F-bounded polymorphism for object-oriented programming
Peter S. Canning, William R. Cook, Walter L. Hill et al. · 1989 · 330 citations