首页> 外文会议>Functional and Logic Programming >A General Type Inference Framework for Hindley/Milner Style Systems
【24h】

A General Type Inference Framework for Hindley/Milner Style Systems

机译:用于Hindley / Milner风格系统的通用类型推断框架

获取原文

摘要

We propose a constraint-based formulation of Hindley/Milner style type inference system as opposed to the standard substitution-based formulation. This allows us to make important distinctions between different phases of type inference: Constraint generation/propagation, constraint solving, constraint simplification and term reconstruction. The inference system is parametric in the constraint domain, covering a wide range of application domains. A problem, incompleteness of substitution-based inference, identified by A. J. Kennedy can be solved naturally by employing a constraint-based view of type inference. In addition, our formulation of type inference can easily be tailored to different inference algorithms such as W and M. On the technical side, we present concise soundness and completeness results.
机译:我们提出了基于约束的Hindley / Milner样式类型推断系统的表述,而不是基于标准替换的表述。这使我们能够在类型推断的不同阶段之间进行重要区分:约束生成/传播,约束求解,约束简化和术语重构。推理系统在约束域中是参数化的,涵盖了广泛的应用程序域。 A. J. Kennedy所识别的问题,即基于替换的推理的不完全性,可以通过采用基于约束的类型推理来自然解决。此外,我们可以轻松地将类型推论的公式调整为适合诸如W和M之类的不同推论算法。在技术方面,我们提供了简洁的健全性和完整性结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号