rhine: Functional Reactive Programming with type-level clocks

[ bsd3, frp, library ] [ Propose Tags ]

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]


Manual Flags


Enable warnings as errors. Active on ci.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,,, 0.6.0, 0.7.0, 0.7.1,,, 0.8.1,, 0.9, 1.0, 1.1
Change log ChangeLog.md
Dependencies base (>=4.14 && <4.18), containers (>=0.5), deepseq (>=1.4), dunai (>=0.11 && <0.12), free (>=5.1), monad-schedule (>=0.1.2 && <0.2), MonadRandom (>=0.5), random (>=1.1), simple-affine-space (>=0.2 && <0.3), time (>=1.8), time-domain (>= && <0.2), transformers (>=0.5), vector-sized (>=1.4) [details]
License BSD-3-Clause
Author Manuel Bärenz
Maintainer maths@manuelbaerenz.de
Category FRP
Source repo head: git clone https://github.com/turion/rhine.git
this: git clone https://github.com/turion/rhine.git(tag v1.0)
Uploaded by turion at 2023-11-15T16:06:27Z
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 7765 total (13 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 2023-11-15 [all 1 reports]

Readme for rhine-1.1

[back to package description]


This is the main library. For details, visit https://github.com/turion/rhine.