arXiv · 2503.06162
Functional Reactive Programming with Effects, A More Permissive Approach
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Frédéric Dabrowski, Jordan Ischard. 2025-03-08. Functional Reactive Programming with Effects, A More Permissive Approach. https://arxiv.org/abs/2503.06162
Cite the original work for its findings. Save a collection to share your selection of sources.