【24h】

Rank-2 Intersection and Polymorphic Recursion

机译:2级交集和多态递归

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

摘要

Let |- be a rank-2 intersection type system. We say that a term is |--simple (or just simple when the system |- is clear from the context) if system |- can prove that it has a simple type. In this paper we propose new typing rules and algorithms that are able to type recursive definitions that are not simple. At the best of our knowledge, previous algorithms for typing recursive definitions in the presence of rank-2 intersection types allow only simple recursive definitions to be typed. The proposed rules are also able to type interesting examples of polymorphic recursion (i.e., recursive definitions rec{x = e} where different occurrences of x in e are used with different types). Moreover, the underlying techniques do not depend on particulars of rank-2 intersection, so they can be applied to other type systems.
机译:令|-为2级交叉点类型系统。我们说如果系统|-可以证明它具有简单类型,则该术语是|-简单的(或者在从上下文中清楚地看到系统|-时只是简单的)。在本文中,我们提出了新的键入规则和算法,它们能够键入不简单的递归定义。据我们所知,在存在秩2交集类型的情况下用于键入递归定义的先前算法仅允许键入简单的递归定义。提出的规则也能够键入有趣的多态递归示例(即递归定义rec {x = e},其中e中x的不同出现与不同类型一起使用)。而且,基础技术不依赖于等级2交集的细节,因此它们可以应用于其他类型的系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号