Handling Higher-Order Effectful Operations with Judgemental Monadic Laws
Open Access
- 8 January 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 10 (POPL) , 1036-1065
Abstract
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 ⊤⊤-lifting technique.Keywords
All Related Versions
This publication has 51 references indexed in Scilit:
- Structured Handling of Scoped Effects2022
- Handlers of Algebraic Effects2009
- Modular Monad Transformers2009
- Reducibility and ⊤ ⊤-Lifting for Computation TypesLecture Notes in Computer Science, 2005
- Notions of Computation Determine Monads2002
- Categorical reconstruction of a reduction free normalization proof1995
- Sheaves in Geometry and Logic1994
- First steps in synthetic domain theory1991
- A functional theory of exceptionsScience of Computer Programming, 1990
- Algebra of communicating processes with abstractionTheoretical Computer Science, 1985