Type Inference of Linear Lambda Calculus with First-Class Continuations

Nishizaki Shin-Ya
{"title":"Type Inference of Linear Lambda Calculus with First-Class Continuations","authors":"Nishizaki Shin-Ya","doi":"10.1109/ICCTEC.2017.00040","DOIUrl":null,"url":null,"abstract":"Previous work proposed the linear lambda calculus with non-linear first-class continuations. In the linear lambda calculus with non-linear first-class continuations, a value is handled linearly, meaning it can be used once and only once; however, a continuation can be duplicated many times. From the viewpoint of the CurryHoward isomorphism, the calculus is considered as dual of the usual lambda calculus without first-class continuation. And this paper proposes an inference algorithm and a system for the type inference. The linear lambda calculus with non-linear first-class continuations is more limited than the linear lambda calculus without first-class continuations. Therefore, the paper manages both of the two calculis using the type inference. It introduces a modal variable in the types to substitute the linear modality. During type inference, modal variables are instantiated.","PeriodicalId":267944,"journal":{"name":"2017 International Conference on Computer Technology, Electronics and Communication (ICCTEC)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 International Conference on Computer Technology, Electronics and Communication (ICCTEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCTEC.2017.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Previous work proposed the linear lambda calculus with non-linear first-class continuations. In the linear lambda calculus with non-linear first-class continuations, a value is handled linearly, meaning it can be used once and only once; however, a continuation can be duplicated many times. From the viewpoint of the CurryHoward isomorphism, the calculus is considered as dual of the usual lambda calculus without first-class continuation. And this paper proposes an inference algorithm and a system for the type inference. The linear lambda calculus with non-linear first-class continuations is more limited than the linear lambda calculus without first-class continuations. Therefore, the paper manages both of the two calculis using the type inference. It introduces a modal variable in the types to substitute the linear modality. During type inference, modal variables are instantiated.
一类延拓线性λ演算的类型推断
先前的工作提出了具有非线性一级延拓的线性λ演算。在具有非线性一级延拓的线性λ演算中,一个值是线性处理的,这意味着它可以使用一次且只能使用一次;但是,一个延续可以重复多次。从CurryHoward同构的观点来看,该演算被认为是没有一等延拓的通常λ演算的对偶。提出了一种类型推理算法和类型推理系统。具有非线性一级延拓的线性演算比没有一级延拓的线性演算更有局限性。因此,本文使用类型推理对这两种演算进行管理。在类型中引入一个模态变量来代替线性模态。在类型推断期间,将实例化模态变量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书