event-list-0.1.1.3: Event lists with relative or absolute time stamps

Copyright(c) Henning Thielemann 2007
Maintainerhaskell@henning-thielemann.de
Stabilitystable
PortabilityHaskell 98
Safe HaskellSafe
LanguageHaskell98

Data.EventList.Relative.MixedTime

Description

Event lists starting with a body and ending with a time difference.

Documentation

consBody :: body -> T time body -> T time body Source

consTime :: time -> T time body -> T time body Source

(/.) :: time -> T time body -> T time body infixr 5 Source

(./) :: body -> T time body -> T time body infixr 5 Source

empty :: T time body Source

viewTimeL :: T time body -> (time, T time body) Source

viewBodyL :: T time body -> Maybe (body, T time body) Source

switchTimeL :: (time -> T time body -> a) -> T time body -> a Source

switchBodyL :: a -> (body -> T time body -> a) -> T time body -> a Source

mapTimeL :: (time -> time, T time body0 -> T time body1) -> T time body0 -> T time body1 Source

mapTimeHead :: (time -> time) -> T time body -> T time body Source

mapTimeTail :: (T time body0 -> T time body1) -> T time body0 -> T time body1 Source

mapBodyL :: (body -> body, T time0 body -> T time1 body) -> T time0 body -> T time1 body Source

mapBodyHead :: (body -> body) -> T time body -> T time body Source

mapBodyTail :: (T time0 body -> T time1 body) -> T time0 body -> T time1 body Source