Title :
Efficient inference of partial types
Author :
Kozen, Dexter ; Palsberg, Jens ; Schwartzbach, Michael I.
Author_Institution :
Dept. of Comput. Sci., Cornell Univ., Ithaca, NY, USA
Abstract :
Partial types for the λ-calculus were introduced by Thatte (1988) as a means of typing objects that are not typable with simple types, such as heterogeneous lists and persistent data. He showed that type inference for partial types was semidecidable. Decidability remained open until O´Keefe and Wand gave an exponential time algorithm for type inference. The authors give an O(n3) algorithm. The algorithm constructs a certain finite automaton that represents a canonical solution to a given set of type constraints. Moreover, the construction works equally well for recursive types
Keywords :
decidability; lambda calculus; type theory; decidability; exponential time algorithm; finite automaton; heterogeneous lists; lambda -calculus; partial types; persistent data; recursive types; type constraints; type inference; Automata; Computer science; Inference algorithms;
Conference_Titel :
Foundations of Computer Science, 1992. Proceedings., 33rd Annual Symposium on
Conference_Location :
Pittsburgh, PA
Print_ISBN :
0-8186-2900-2
DOI :
10.1109/SFCS.1992.267754