A Direct Algorithm for the Type Interference in the Rank 2 Fragment of the Second--Order λ-Calculus
Data(s) |
12/09/2011
12/09/2011
01/12/1993
|
---|---|
Resumo |
We study the problem of type inference for a family of polymorphic type disciplines containing the power of Core-ML. This family comprises all levels of the stratification of the second-order lambda-calculus by "rank" of types. We show that typability is an undecidable problem at every rank k ≥ 3 of this stratification. While it was already known that typability is decidable at rank ≤ 2, no direct and easy-to-implement algorithm was available. To design such an algorithm, we develop a new notion of reduction and show how to use it to reduce the problem of typability at rank 2 to the problem of acyclic semi-unification. A by-product of our analysis is the publication of a simple solution procedure for acyclic semi-unification. |
Identificador |
Wells, Joe. "A Direct Algorithm for Type Inference in the Rank 2 Fragment of the Second-Order Lambda-Calculus", Technical Report BUCS-1993-017, Computer Science Department, Boston University, November 1993. [Available from: http://hdl.handle.net/2144/1475] |
Idioma(s) |
en_US |
Publicador |
Boston University Department of Computer Science |
Relação |
BUCS;BUCS-TR-1993-017 |
Palavras-Chave | #Technical Report, Computer Science |
Tipo |
Technical Report |