Handling Higher-Order Effectful Operations with Judgemental Monadic Laws

Read full text
Authors: Zhixuan Yang, Nicolas Wu
Cited by: 0
References: 51

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.

Fields of Study & Subjects

Logic programming and type systems Reasoning and Knowledge Formal Methods in Verification

Publication details

Journal / source
Proceedings of the ACM on Programming Languages
Volume
10
Issue
POPL
Pages
1036–1065
Publication date
8 January 2026
Language
EN