netwire-2.0.1: Generic automaton arrow transformer and useful tools
Control.Wire.Prefab.Sample
Contents
Description
Signal sampling wires.
Synopsis
discrete :: forall b e t (>~). (ArrowClock >~, Num t, Ord t, Time >~ ~ t) => Wire e >~ (t, b) bSource
Sample the right signal at discrete intervals given by the left input signal.
keep :: Wire e >~ b bSource
Keep the signal in the first instant forever.