machinecell-1.3.1: Arrow based stream transducers
Control.Arrow.Machine.Misc.Pump
Contents
Synopsis
This module should be imported manually.
intake records events and outlet emits recorded events.
intake
outlet
Tipically they are used with rec statement.
clock arguments are needed to drive a Pump. For a pair of intake and outlet, clock arguments must point the same event stream.
clock
Pump
data Duct a Source
intake :: ArrowApply a => ProcessA a (Event b, Event ()) (Duct b) Source
outlet :: ArrowApply a => ProcessA a (Duct b, Event ()) (Event b) Source