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 - random - time - 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.1, 1.2, 1.3, 1.3, 1.4, 1.4.0.1, 1.5 |
---|---|
Change log | ChangeLog.md |
Dependencies | automaton (>=1.3 && <1.4), base (>=4.14 && <4.20), containers (>=0.5), deepseq (>=1.4), free (>=5.1), mmorph (>=1.2 && <1.3), monad-schedule (>=0.1.2 && <0.2), MonadRandom (>=0.5), mtl (>=2.2 && <2.4), profunctors (>=5.6 && <5.7), random (>=1.1), selective (>=0.7 && <0.8), simple-affine-space (>=0.2 && <0.3), sop-core (>=0.5 && <0.6), text (>=1.2 && <2.2), time (>=1.8), time-domain (>=0.1.0.2 && <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.3) |
Uploaded | by turion at 2024-06-06T10:23:15Z |
Modules
[Index] [Quick Jump]
- FRP
- FRP.Rhine
- FRP.Rhine.ClSF
- FRP.Rhine.Clock
- FRP.Rhine.Reactimation
- FRP.Rhine.ResamplingBuffer
- FRP.Rhine.SN
- FRP.Rhine.Schedule
- FRP.Rhine.Type
- FRP.Rhine
Flags
Manual Flags
Name | Description | Default |
---|---|---|
dev | Enable warnings as errors. Active on ci. | Disabled |
core | Dump GHC core files for debugging. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- rhine-1.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees