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)


Keywords
frp, library, Propose Tags, Skip to Readme, , Last Documentation, More info, rhine-1.2.tar.gz, browse, Package description, Package maintainers, turion, edit package information , 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.1.0, 0.6.0, 0.8.0.0, 0.9, 1.0, 1.1, https://github.com/turion/rhine
License
BSD-3-Clause
Install
cabal install rhine-0.4.0.4