Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Collect and process all incoming values statefully and with time stamps.
Synopsis
- clsfBuffer :: Monad m => ClSF m cl2 [(TimeInfo cl1, a)] b -> ResamplingBuffer m cl1 cl2 a b
Documentation
:: Monad m | |
=> ClSF m cl2 [(TimeInfo cl1, a)] b | The clocked signal function that consumes and a list of timestamped inputs, and outputs a single value. The list will contain the newest element in the head. |
-> ResamplingBuffer m cl1 cl2 a b |
Given a clocked signal function that accepts
a varying number of timestamped inputs (a list),
a ResamplingBuffer
can be formed
that collects all this input and steps the signal function
whenever output is requested.