计算机科学 > 程序设计语言
[提交于 2026年10月16日]
标题:Arbitrary Functors as Modalities in a Linear Calculus
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study modalities in the linear lambda calculus, by interpreting them as endofunctors in monoidal closed categories. We support functors that do not distribute over products, including (co)monads. We also support arbitrary natural transformations as conversion between modalities. We provide a generic categorical semantics, which we then specialise to a sound and complete resource semantics. We use this resource semantics to derive normalisation by evaluation. Along the way, we describe several applications of such models. This work aims at providing a foundation for future programming languages with modalities. The paper is backed by a mechanisation in Agda.
提交历史
来自:Jean-Philippe Bernardy[v1] 2026年10月16日 星期五 06:58:21 UTC