Hindley/Milner style type systems in constraint form

This papers describes Hindley/Milner style type systems in constraint form. Previously, many type descriptions have still been partially represented in the type language. We argue that this can lead to shortcomings in the type and inference system. Examples are given to support this statement. As a solution we present a purely constraint{based formulation of Hindley/Milner style type systems which enjoys much nicer logical properties than previous approaches. More speciically, we present a solution to the open problem of type inference in non-regular theories.

[1]  Michael J. Maher,et al.  Constraint Logic Programming: A Survey , 1994, J. Log. Program..

[2]  François Pottier,et al.  A framework for type inference with subtyping , 1998, ICFP '98.

[3]  Scott F. Smith,et al.  Type inference for recursively constrained types and its application to OOP , 1995, MFPS.

[4]  Harry G. Mairson,et al.  Unification and ML-Type Reconstruction , 1991, Computational Logic - Essays in Honor of Alan Robinson.

[5]  Atsushi Ohori,et al.  A polymorphic record calculus and its compilation , 1995, TOPL.

[6]  Paul Hudak,et al.  Parametric type classes , 1992, LFP '92.

[7]  Fritz Henglein,et al.  Polymorphic Recursion and Subtype Qualifications: Polymorphic Binding-Time Analysis in Polynomial Time , 1995, SAS.

[8]  Simon L. Peyton Jones,et al.  Type Classes in Haskell , 1994, ESOP.

[9]  Geoffrey Smith Polymorphic Type Inference for Languages with Overloading and Subtyping , 1991 .

[10]  Martin Odersky,et al.  Type Inference with Constrained Types , 1999, Theory Pract. Object Syst..

[11]  Tobias Nipkow,et al.  Type Reconstruction for Type Classes , 1993 .

[12]  Dallas Lankford,et al.  Abelian group unification algorithms for elementary terms , 1984 .

[13]  Alexander Aiken,et al.  Type inclusion constraints and type inference , 1993, FPCA '93.

[14]  Scott F. Smith,et al.  Sound polymorphic type inference for objects , 1995, OOPSLA.

[15]  Robin Milner,et al.  A Theory of Type Polymorphism in Programming , 1978, J. Comput. Syst. Sci..

[16]  Mitchell Wand,et al.  Type inference for record concatenation and multiple inheritance , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[17]  Stefan Kaes Type inference in the presence of overloading, subtyping and recursive types , 1992, LFP '92.

[18]  Martin Odersky,et al.  A second look at overloading , 1995, FPCA '95.