计算机科学 > 程序设计语言
[提交于 2025年11月7日]
标题:Handling Higher-Order Effectful Operations with Judgemental Monadic Laws
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper studies the design of programming languages with handlers of higher-order effectful operations -- effectful operations that may take in computations as arguments or return computations as output. We present and analyse a core calculus with higher-kinded impredicative polymorphism, handlers of higher-order effectful operations, and optionally general recursion. The distinctive design choice of this calculus is that handlers are carried by lawless raw monads, while the computation judgements still satisfy the monadic laws judgementally. We present the calculus with a logical framework and give denotational models of the calculus using realizability semantics. We prove closed-term canonicity and parametricity for the recursion-free fragment of the language using synthetic Tait computability and a novel form of the $\top\top$-lifting technique.
提交历史
来自:Zhixuan Yang[v1] 2025年11月7日 星期五 21:55:50 UTC