Publication | Open Access
Type inference with constrained types
218
Citations
27
References
1999
Year
EngineeringGeneric ProgrammingAutomated ReasoningType TheoryPolymorphism (Computer Science)Dependently Typed ProgrammingFormal MethodsConstrained TypesHindley/milner Type SystemComputer ScienceType SystemType SystemsType System Instances
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1