English

Functional Reactive Programming with Effects, A More Permissive Approach

Programming Languages 2025-03-11 v1

Abstract

We introduce a functional reactive programming language that extends WORMHOLES, an enhancement of YAMPA with support for effects. Our proposal relaxes the constraint in WORMHOLES that restricts all resources to single-use. Resources are categorized into two kinds: input/output resources and internal resources. Input/output resources model interactions with the environment and follow constraints similar to those in WORMHOLES. Internal resources, on the other hand, enable communication between program components and can be used multiple times. We demonstrate that programs written in our language can be translated into equivalent effect-free YAMPA programs, ensuring that our approach remains compatible with existing functional reactive paradigms.

Keywords

Cite

@article{arxiv.2503.06162,
  title  = {Functional Reactive Programming with Effects, A More Permissive Approach},
  author = {Frédéric Dabrowski and Jordan Ischard},
  journal= {arXiv preprint arXiv:2503.06162},
  year   = {2025}
}
R2 v1 2026-06-28T22:12:02.713Z