ACM Home Page
Please provide us with feedback. Feedback
A direct algorithm for type inference in the rank-2 fragment of the second-order &lgr;-calculus
Full text PdfPdf (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
A. J. Kfoury  Dept. of Computer Science, Boston University
J. B. Wells  Dept. of Computer Science, Boston University
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 32,   Citation Count: 15
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/182409.182456
What is a DOI?

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

CITED BY  15

Collaborative Colleagues:
A. J. Kfoury: colleagues
J. B. Wells: colleagues