rhine: Functional Reactive Programming with type-level clocks
Rhine is a library for synchronous and asynchronous Functional Reactive Programming (FRP).
It separates the aspects of clocking, scheduling and resampling
from each other, and ensures clock-safety on the type level.
Signal processing units can be annotated by clocks,
which hold the information when data will be
input, processed and output.
Different components of the signal network
will become active at different times, or work
at different rates.
To schedule the components and allow them to communicate,
several standard scheduling and resampling solutions are implemented.
Own schedules and resampling buffers can be implemented in a reusable fashion.
A (synchronous) program outputting "Hello World!" every tenth of a second looks like this:
flow $ constMCl (putStrLn "Hello World!") @@ (waitClock :: Millisecond 100)
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- rhine-0.6.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.1.1, 0.6.0, 0.7.0, 0.7.1, 0.8.0.0, 0.8.0.1, 0.8.1, 0.8.1.1, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.4.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.9 && <5), containers (>=0.6 && <0.7), deepseq (>=1.4 && <1.5), dunai (>=0.6), free (>=5.1 && <5.2), MonadRandom (>=0.5 && <0.6), random (>=1.1 && <1.2), simple-affine-space, time (>=1.8), transformers (>=0.5 && <0.6), vector-sized (>=1.4 && <1.5) [details] |
License | BSD-3-Clause |
Author | Manuel Bärenz |
Maintainer | maths@manuelbaerenz.de |
Category | FRP |
Source repo | head: git clone git@github.com:turion/rhine.git this: git clone git@github.com:turion/rhine.git(tag v0.6.0) |
Uploaded | by turion at 2020-04-17T10:48:25Z |
Distributions | NixOS:1.4.0.1, Stackage:1.4.0.1 |
Reverse Dependencies | 3 direct, 0 indirect [details] |
Downloads | 8626 total (95 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2020-04-17 [all 1 reports] |