首页    期刊浏览 2024年09月18日 星期三
登录注册

文章基本信息

  • 标题:Type Inference for Bimorphic Recursion
  • 本地全文:下载
  • 作者:Makoto Tatsuta ; Ferruccio Damiani
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2011
  • 卷号:54
  • 页码:102-115
  • DOI:10.4204/EPTCS.54.8
  • 出版社:Open Publishing Association
  • 摘要:This paper proposes bimorphic recursion, which is restricted polymorphic recursion such that every recursive call in the body of a function definition has the same type. Bimorphic recursion allows us to assign two different types to a recursively defined function: one is for its recursive calls and the other is for its calls outside its definition. Bimorphic recursion in this paper can be nested. This paper shows bimorphic recursion has principal types and decidable type inference. Hence bimorphic recursion gives us flexible typing for recursion with decidable type inference. This paper also shows that its typability becomes undecidable because of nesting of recursions when one removes the instantiation property from the bimorphic recursion.
国家哲学社会科学文献中心版权所有