Graph explorer

Runners in action

Runners of algebraic effects, also known as comodels, provide a mathematical model of resource management. We show that they also give rise to a programming concept that models top-level external resources, as well as allows programmers to modularly define their own intermediate "virtual machines". We capture the core ideas of programming with runners in an equational calculus $λ_{\mathsf{coop}}$, which we equip with a sound and coherent denotational semantics that guarantees the linear use of resources and execution of finalisation code. We accompany $λ_{\mathsf{coop}}$ with examples of runners in action, provide a prototype language implementation in OCaml, as well as a Haskell library based on $λ_{\mathsf{coop}}$.

4 nodes3 linksoverview previewRunners in action
4 nodes3 links
Runners in action4 visible / 4 total nodes / 4 links
Co-authorshipAuthorshipAuthorshipTopic signalWRunners in actionpreprint / 2020ADanel AhmanResearcherAAndrej BauerResearcherTProgramming Languages1239 works
PaperSignal 103 links

Runners in action

preprint / 2020

Open