跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2003.08138 (cs)
[提交于 2020年3月18日 (v1),最后修订于 2020年8月29日 (此版本, v2)]

标题:Signature Restriction for Polymorphic Algebraic Effects

作者:Taro Sekiyama, Takeshi Tsukada, Atsushi Igarashi
查看论文《Signature Restriction for Polymorphic Algebraic Effects》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The naive combination of polymorphic effects and polymorphic type assignment has been well known to break type safety. Existing approaches to this problem are classified into two groups: one for restricting how effects are triggered and the other for restricting how they are implemented. This work explores a new approach to ensuring the safety of polymorphic effects in polymorphic type assignment. A novelty of our work lies in finding a restriction on effect interfaces. To formalize our idea, we employ algebraic effects and handlers, where an effect interface is given by a set of operations coupled with type signatures. We propose signature restriction, a new notion to restrict the type signatures of operations, and show that signature restriction is sufficient to ensure type safety of an effectful language equipped with unrestricted polymorphic type assignment. We also develop a type-and-effect system to enable the use of both operations that satisfy and do not satisfy the signature restriction in a single program.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2003.08138 [cs.PL]
  (或者 arXiv:2003.08138v2 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2003.08138
期刊参考: J. Funct. Prog. 34 (2024) e7
相关 DOI: https://doi.org/10.1017/S0956796824000054

提交历史

来自:Taro Sekiyama
[v1] 2020年3月18日 星期三 10:39:12 UTC
[v2] 2020年8月29日 星期六 05:24:23 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-08
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站