elerea: A minimalistic FRP library

[ bsd3, frp, library, reactivity ] [ Propose Tags ]
Versions 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0,,, 2.8.0, 2.9.0
Dependencies base [details]
License BSD-3-Clause
Copyright (c) 2009, Patai Gergely
Author Patai Gergely
Maintainer Patai Gergely (patai@iit.bme.hu)
Category reactivity, FRP
Uploaded by GergelyPatai at Fri Apr 10 16:24:50 UTC 2009
Distributions LTSHaskell:2.9.0, NixOS:2.9.0, Stackage:2.9.0, openSUSE:2.9.0
Downloads 11587 total (81 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Elerea (Eventless reactivity) is a tiny continuous-time FRP implementation without the notion of event-based switching and sampling, with first-class signals (time-varying values). Reactivity is provided through a latching mechanism where a signal changes its behaviour as dictated by a boolean input signal.

Elerea provides an easy to use applicative interface, supports recursive signals (a definition like sine = integral 0 (integral 1 (-sine)) works without a hitch) and arbitrary external input. Cycles are allowed by the implicit delay on stateful transfer functions. For the time being it is not possible to create arbitrary transfer functions without a delay, but this limitation can be removed later.

This is a minimal library that defines only some basic primitives, and you are advised to install elerea-examples as well to get an idea how to build non-trivial systems with it. The examples are separated in order to minimise the dependencies of the core library.




Maintainer's Corner

For package maintainers and hackage trustees