Score: 0

Handling Higher-Order Effectful Operations with Judgemental Monadic Laws

Published: November 7, 2025 | arXiv ID: 2511.05739v1

By: Zhixuan Yang, Nicolas Wu

Potential Business Impact:

Makes computer programs more flexible and powerful.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

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.

Country of Origin
🇬🇧 United Kingdom

Page Count
61 pages

Category
Computer Science:
Programming Languages