Person. Robert Atkey
Papers
Adequate Losses via Quantitative Linear Logic capucci-2026-adequate
A Semantic Proof of Generalised Cut Elimination for Deep Inference atkey-2024-a
Polynomial Time and Dependent Types atkey-2024-polynomial
Compiling Higher-Order Specifications to SMT Solvers: How to Deal with Rejection Constructively daggitt-2023-compiling
Vehicle: Interfacing Neural Network Verifiers with Interactive Theorem Provers daggitt-2022-vehicle
A Framework for Substructural Type Systems wood-2022-a
A type- and scope-safe universe of syntaxes with binding: their semantics and proofs allais-2021-a
Effect handlers via generalised continuations hillerstrom-2020-effect
Dijkstra monads for all maillard-2019-dijkstra
Syntax and Semantics of Quantitative Type Theory atkey-2018-syntax
Observed Communication Semantics for Classical Processes atkey-2017-observed
Continuation Passing Style for Effect Handlers hillerstrom-2017-continuation
We present Continuation Passing Style (CPS) translations for Plotkin and Pretnar’s effect handlers with Hillerström and Lindley’s row-typed fine-grain call-by-value calculus of effect handlers as the source language. CPS translations of handlers are interesting theoretically, to explain the semantics of handlers, and also offer a practical implementation technique that does not require special support in the target language’s runtime.
We begin with a first-order CPS translation into untyped lambda calculus which manages a stack of continuations and handlers as a curried sequence of arguments. We then refine the initial CPS translation first by uncurrying it to yield a properly tail-recursive translation and second by making it higher-order in order to contract administrative redexes at translation time. We prove that the higher-order CPS translation simulates effect handler reduction. We have implemented the higher-order CPS translation as a JavaScript backend for the Links programming language.