首页> 外文会议>Static analysis >Finite Subtype Inference with Explicit Polymorphism
【24h】

Finite Subtype Inference with Explicit Polymorphism

机译:具有显式多态性的有限子类型推断

获取原文
获取原文并翻译 | 示例

摘要

Finite subtype inference occupies a middle ground between Hindley-Milner type inference (as in ML) and subtype inference with recursively constrained types. It refers to subtype inference where only finite types are allowed as solutions. This approach avoids some open problems with general subtype inference, and has practical motivation where recursively constrained types are not appropriate. This paper presents algorithms for finite subtype inference, including checking for entailment of inferred types against explicitly declared polymorphic types. This resolves for finite types a problem that is still open for recursively constrained types. Some motivation for this work, particularly for finite types and explicit polymorphism, is in providing subtype inference for first-class container objects with polymorphic methods.
机译:有限子类型推断在Hindley-Milner类型推断(如ML中)和具有递归约束类型的子类型推断之间处于中间立场。它是指子类型推断,其中仅允许有限类型作为解。这种方法避免了一般子类型推断的一些未解决的问题,并且在递归约束类型不合适的情况下具有实践动机。本文提出了有限子类型推断的算法,包括针对明确声明的多态类型检查推断类型的必要性。对于有限类型,这解决了递归约束类型仍然存在的问题。进行这项工作的某些动机,尤其是对于有限类型和显式多态性而言,是通过多态方法为一等容器对象提供子类型推断。

著录项

  • 来源
    《Static analysis》|1998年|295-310|共16页
  • 会议地点 Pisa(IT);Pisa(IT)
  • 作者

    Dominic Duggan;

  • 作者单位

    Department of Computer Science,Stevens Institute of Technology,Castle Point on the Hudson,Hoboken, New Jersey 07030;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 理论、方法;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号