Functional reactive programming, continued
Henrik Nilsson, Antony Courtney, John R. Peterson · 2002
Functional Reactive Programming (FRP) extends a host programming language with a notion of time flow. Arrowized FRP (AFRP) is a version of FRP embedded in Haskell based on the arrow combinators. AFRP is a powerful synchronous dataflow programming language with hybrid modeling capabilities, combining advanced synchronous dataflow features with the higher-order lazy functional abstractions of Haskell. In this paper, we describe the AFRP programming style and our Haskell-based implementation. Of particular interest are the AFRP combinators that support dynamic collections and continuation-based switching. We show how these combinators can be used to express systems with an evolving structure that are difficult to model in more traditional dataflow languages.
Cited by 208 works. doi:10.1145/581690.581695
Authors
References
- The Esterel synchronous programming language: design, semantics, implementation
- The synchronous data flow programming language LUSTRE
- The theory of hybrid automata
- LUSTRE: A declarative language for programming synchronous systems*
- LUSTRE: a declarative language for real-time programming
- Functional reactive animation
- Modelica - A Unified Object-Oriented Language for Physical Systems Modeling - Language Specification
- The Foundations of Esterel
- Generalising monads to arrows
- SIGNAL: A declarative language for synchronous programming of real-time systems