2020
DOI: 10.1007/978-3-030-44914-8_2
|View full text |Cite
|
Sign up to set email alerts
|

Runners in Action

Abstract: 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 λcoop, which we equip with a sound and coherent denotational semantics that guarantees the linear use of resources and execution of fin… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
16
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
4
3

Relationship

1
6

Authors

Journals

citations
Cited by 11 publications
(16 citation statements)
references
References 29 publications
0
16
0
Order By: Relevance
“…takes as its input, and its output gets bound to . For instance, this could take the form of defining a suitable effect handler [Plotkin and Pretnar 2013], but could also be given by calls to runners of algebraic effects [Ahman and Bauer 2020], or simply by invoking some (default) top-level (native) implementation. What is important is that some pre-defined piece of code op [ / ] gets executed in place of every operation call op ( , .…”
Section: Conventional Algebraic Effects Are Synchronous By Naturementioning
confidence: 99%
See 3 more Smart Citations
“…takes as its input, and its output gets bound to . For instance, this could take the form of defining a suitable effect handler [Plotkin and Pretnar 2013], but could also be given by calls to runners of algebraic effects [Ahman and Bauer 2020], or simply by invoking some (default) top-level (native) implementation. What is important is that some pre-defined piece of code op [ / ] gets executed in place of every operation call op ( , .…”
Section: Conventional Algebraic Effects Are Synchronous By Naturementioning
confidence: 99%
“…Next, we use ñ to implement a parallel variant of runners of algebraic effects [Ahman and Bauer 2020]. These are a natural mathematical model and programming abstraction for resource management based on algebraic effects, and correspond to effect handlers that apply continuations (at most) once in a tail call position.…”
Section: Runners Of Algebraic Effectsmentioning
confidence: 99%
See 2 more Smart Citations
“…Denotational methods have the benefit of often being more modular than the operational methods, and often reveal the foundational mathematical building blocks of programming languages. Denotational semantics often inspire new programming constructions or languages, as exemplified in monads [30], runners for computational effects [37,3], homotopy type theory [36], or even guarded recursion itself [10].…”
Section: Synthetic Guarded Domain Theorymentioning
confidence: 99%