varying-0.6.0.0: FRP through value streams and monadic splines.

Safe HaskellNone
LanguageHaskell2010

Control.Varying.Time

Description

 

Synopsis

Documentation

before :: (Applicative m, Monad m, Num t, Ord t) => t -> VarT m t (Event t) Source

Emits events before accumulating t of input dt. Note that as soon as we have accumulated >= t we stop emitting events and therefore an event will be never be emitted exactly at time == t.

after :: (Applicative m, Monad m, Num t, Ord t) => t -> VarT m t (Event t) Source

Emits events after t input has been accumulated. Note that event emission is not guaranteed to begin exactly at t, since it depends on the input.