netwire-2.0.1: Generic automaton arrow transformer and useful tools

MaintainerErtugrul Soeylemez <es@ertes.de>

Control.Wire.Prefab.Clock

Contents

Description

Various clocks.

Synopsis

Clock wires

dtime :: (ArrowClock >~, Time >~ ~ t, Num t) => Wire e >~ a tSource

Time deltas starting from the first instant.

dtimeFrom :: (ArrowClock >~, Time >~ ~ t, Num t) => t -> Wire e >~ a tSource

Time deltas starting from the given instant.

time :: (ArrowClock >~, Time >~ ~ t, Num t) => Wire e >~ a tSource

Current time with origin 0 at the first instant.

timeFrom :: (ArrowClock >~, Time >~ ~ t, Num t) => t -> Wire e >~ a tSource

Current time with the given origin at the first instant.

timeOffset :: (ArrowClock >~, Time >~ ~ t, Num t) => t -> Wire e >~ a tSource

Current time with the given offset.