Defining Algebraic Effects and Handlers via Trails and Metacontinuations
Kenichi Asai and Maika Fujii
May 29, 2025
Code for the paper:
Kenichi Asai and Maika Fujii,
``Defining Algebraic Effects and Handlers via Trails and
Metacontinuations,''
submitted for publication (June 2025).
Used environments:
-
OCaml 4.14.2
- Agda 2.7.0.1, standard library 1.7
All the files in a zip file.
Functional derivation
lambda H (left to right)
lambda H' (left to right)
lambda H (right to left; not in the paper)
lambda H' (right to left; not in the paper)
Agda code for the type systems
-
lambda H
(Figures 8, 9, 10, 11, 12, 13)
- lambda H'
(Figures 8, 9, 14, 15, 12, 13)
This document was translated from LATEX by
HEVEA.