We study the semantics of an untyped lambda-calculus equipped with operators representing read and write operations from and to a global state. We adopt the monadic approach to model side effects and treat read and write as algebraic operations over a computational monad. We introduce an operational semantics and a type assignment system of intersection types, and prove that types are invariant under reduction and expansion of term and state configurations, and characterize convergent terms via their typings.


翻译:我们研究一个不类型的羊羔计算器的语义,该计算器配备了代表全球状态的读写操作的操作员;我们采用修道院方法来模拟副作用,并将读写作为计算式月球的代数操作处理;我们引入一个操作性语义和交叉类型类型类型类型分配系统,并证明各种类型在缩短和扩大期限和状态配置方面是无差异的,并通过打字对趋同的术语进行定性。

0
下载
关闭预览

相关内容

专知会员服务
56+阅读 · 2021年4月12日
专知会员服务
53+阅读 · 2020年3月16日
强化学习最新教程,17页pdf
专知会员服务
167+阅读 · 2019年10月11日
已删除
将门创投
4+阅读 · 2019年9月10日
Hierarchical Disentangled Representations
CreateAMind
4+阅读 · 2018年4月15日
可解释的CNN
CreateAMind
17+阅读 · 2017年10月5日
Arxiv
0+阅读 · 2021年5月31日
Arxiv
8+阅读 · 2021年5月9日
Arxiv
13+阅读 · 2019年11月14日
Arxiv
11+阅读 · 2019年4月15日
Arxiv
21+阅读 · 2018年2月14日
VIP会员
相关资讯
已删除
将门创投
4+阅读 · 2019年9月10日
Hierarchical Disentangled Representations
CreateAMind
4+阅读 · 2018年4月15日
可解释的CNN
CreateAMind
17+阅读 · 2017年10月5日
Top
微信扫码咨询专知VIP会员