| A direct algorithm for type inference in the rank-2 fragment of the second-order &lgr;-calculus |
| Full text |
Pdf
(1.23 MB)
|
| Source
|
Conference on LISP and Functional Programming
archive
Proceedings of the 1994 ACM conference on LISP and functional programming
table of contents
Orlando, Florida, United States
Pages: 196 - 207
Year of Publication: 1994
ISBN:0-89791-643-3
Also published in ...
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 6, Downloads (12 Months): 32, Citation Count: 15
|
|
|
ABSTRACT
We examine the problem of type inference for a family of polymorphic type systems containing the power of Core-ML. This family comprises the levels of the stratification of the second-order &lgr;-calculus (system F) by “rank” of types. We show that typability is an undecidable problem at every rank k≥3. While it was already known that typability is decidable at rank 2, no direct and easy-to-implement algorithm was available. We develop a new notion of &lgr;-term reduction and use it to prove that the problem of typability at rank 2 is reducible to the problem of acyclic semi-unification. We also describe a simple procedure for solving acyclic semi-unification. Issues related to principle types are discussed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
Dow93
|
|
| |
Gir72
|
J.-Y. Girard. interpretation Fonctionn~lle et Elimination des Coupures de i'Arithm4tique d'Ordre $up4rieur, Th~se d'Etat, Universit~ Paris VII, 1972.
|
| |
GMW79
|
M. J. Gordon, R. Milner, and C. P. Wadsworth. Edinburgh LCF, vol. 78 of LNCS. Springer- Verlag, 1979.
|
| |
GRDR91
|
|
 |
Hen88
|
|
| |
HW88
|
P. Hudak and P. L. Wadler. Report on the functional programming language Haskell. Technical Report YALEU/DCS/RR656, Yale University, 1988.
|
| |
KMM90
|
P. Kanellakis, H. Mairson, and J. C. Mitchell. Unification and ML type reconstruction. In Computational Logic: Essays in Honor of Alan Robinson. MIT Press, 1990.
|
| |
KT92
|
|
| |
KTU90
|
|
| |
KTU93
|
|
 |
Lei83
|
|
| |
Lei91
|
|
| |
McC84
|
|
| |
Mil85
|
R. Milner. The standard ML core language. Polymorphism, 2(2), Oct. 1985.
|
 |
Pie92
|
|
| |
Rey74
|
|
| |
Tiu90
|
|
| |
TLCA93
|
lnt'l Conf. Typed Lambda Calculi and Applications, vol. 664 of LNCS. Springer-Verlag, Mar. 1993.
|
| |
Tur85
|
|
| |
Urz93
|
|
| |
Wel93
|
|
|