netwire-5.0.3: Functional reactive programming library
Copyright(c) 2013 Ertugrul Soeylemez
LicenseBSD3
MaintainerErtugrul Soeylemez <[email protected]>
Safe HaskellNone
LanguageHaskell2010

Control.Wire.Time

Contents

Description

 
Synopsis

Time wires

time :: forall t s e (m :: Type -> Type) a. HasTime t s => Wire s e m a t Source #

Local time starting from zero.

timeF :: forall b t s (m :: Type -> Type) e a. (Fractional b, HasTime t s, Monad m) => Wire s e m a b Source #

Local time starting from zero, converted to your favorite fractional type.

timeFrom :: forall t s e (m :: Type -> Type) a. HasTime t s => t -> Wire s e m a t Source #

Local time starting from the given value.