Type inference with constrained types 论文

1999Theory and Practice of Object Systems引用 219
Logic, programming, and type systemsLogic, Reasoning, and KnowledgeAdvanced Database Systems and Queries

摘要

We present a general framework HM(X) for type systems with constraints. The framework stays in the tradition of the Hindley/Milner type system. Its type system instances are sound under a standard untyped compositional semantics. We can give a generic type inference algorithm for HM(X) so that, under sufficient conditions on X, type inference will always compute the principal type of a term. We discuss instances of the framework that deal with polymorphic records, equational theories, and subtypes. © 1999 John Wiley & Sons, Inc.

相关技术

暂无数据

相关事件

暂无数据

相关文章

暂无数据