Copyright  Copyright (c) 20092017 David Sorokin <david.sorokin@gmail.com> 

License  BSD3 
Maintainer  David Sorokin <david.sorokin@gmail.com> 
Stability  experimental 
Safe Haskell  None 
Language  Haskell2010 
Synopsis
 newtype Channel a b = Channel {
 runChannel :: Signal a > Composite (Signal b)
 delayChannel :: Double > Channel a a
 delayChannelM :: Event Double > Channel a a
 sinkSignal :: Signal a > Composite ()
 traceChannel :: String > Channel a b > Channel a b
Channel Computation
It allows representing a signal transformation.
Channel  

Delay Channel
Return a delayed signal.
This is actually the delaySignal
function wrapped in the Channel
type.
Like delayChannel
, but it recomputes the delay each time.
This is actually the delaySignalM
function wrapped in the Channel
type.
Sinking Signal
sinkSignal :: Signal a > Composite () Source #
Sink the signal. It returns a computation that subscribes to the signal and then ignores the received data. The resulting computation can be a moving force to simulate the whole system of the interconnected signals and channels.