A Semantics for Static Type Inference
A Semantics for Static Type Inference
复制标题
静态类型推断的语义
DOI:
10.1006/inco.1994.1018
复制
发表时间:
1994
影响因子:
1
通讯作者:
G. Plotkin
中科院分区:
文献类型:
--
作者:
G. Plotkin
Abstract Curry′s system for F-deducibility is the basis for static type inference algorithms for programming languages such as ML. If a natural "preservation of types by conversion" rule is added to Curry′s system, it becomes undecidable, but complete relative to a variety of model classes. We show completeness for Curry′s system itself, relative to an extended notion of model that validates reduction but not conversion. Two proofs are given: one uses a term model and the other a model built from type expressions. Extensions to systems with polymorphic or intersection types are also considered.