【24h】

Sound polymorphic type inference for objects

机译:对象的声音多态类型推断

获取原文

摘要

A polymorphic, constraint-based type inference algorithm for an object-oriented language is defined. A generalized form of type, polymorphic recursively constrained types, are inferred. These types are expressive enough for typing objects, since they generalize recursive types and F-bounded polymorphism. The well-known tradeoff between inheritance and subtyping is mitigated by the type inference mechanism. Soundness and completeness of type inference are established.
机译:定义了面向对象语言的基于约束的多态类型推断算法。推断出类型的广义形式,即多态递归约束类型。这些类型对于键入对象具有足够的表现力,因为它们可以概括递归类型和F边界多态性。类型推断机制减轻了继承与子类型之间的众所周知的折衷。建立类型推断的健全性和完整性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号