rhine: Functional Reactive Programming with type-level clocks
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- These packages miss upper bounds: - MonadRandom - containers - deepseq - free - monad-schedule - random - time - time-domain - transformers - vector-sized Please add them, using `cabal gen-bounds` for suggestions. For more information see: https://pvp.haskell.org/
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]
Properties
Versions | 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.0, 1.1, 1.2, 1.3, 1.4, 1.4.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.14 && <4.18), containers (>=0.5), deepseq (>=1.4), dunai (>=0.9 && <0.10), free (>=5.1), monad-schedule (>=0.1.2), MonadRandom (>=0.5), random (>=1.1), simple-affine-space (==0.1.1), time (>=1.8), time-domain, 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-07-21T10:09:10Z |
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
dev | Enable warnings as errors. Active on ci. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- rhine-1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees