netwire-5.0.1: Functional reactive programming library

Copyright(c) 2013 Ertugrul Soeylemez
LicenseBSD3
MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone
LanguageHaskell2010

Control.Wire.Time

Contents

Description

 

Synopsis

Time wires

time :: HasTime t s => Wire s e m a t Source

Local time starting from zero.

timeF :: (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 :: HasTime t s => t -> Wire s e m a t Source

Local time starting from the given value.