tcalculus-1.0.0: A DSL prototype for structured realtime/reactive functional programing

Copyright(c) David Janin, 2016
Licensesee the LICENSE file in the distribution
Maintainerjanin@labri.fr
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Reactive.TimeStamp

Description

 

Synopsis

Documentation

data TimeStamp d Source #

Time stamps

Constructors

TimeStamp 

Fields

Instances

Eq d => Eq (TimeStamp d) Source #

Equality on timestamps

Methods

(==) :: TimeStamp d -> TimeStamp d -> Bool #

(/=) :: TimeStamp d -> TimeStamp d -> Bool #

Ord d => Ord (TimeStamp d) Source #

Total on times stamp

Show d => Show (TimeStamp d) Source # 

timeStampDelta :: Num d => TimeStamp d -> TimeStamp d -> d Source #

Computes the difference between two timestamps

shiftTimeStamp :: Num d => d -> TimeStamp d -> TimeStamp d Source #

Shifts a time stamp

data WakeUpOrder d Source #

Constant delay wake order

Constructors

WakeUp (TimeStamp d) 
NoWakeUp 

Instances

Eq d => Eq (WakeUpOrder d) Source #

Equality on wake up order

Ord d => Ord (WakeUpOrder d) Source #

Total order on wake up order

Show d => Show (WakeUpOrder d) Source #