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

PortabilityHaskell 98
Stabilitystable
Maintainerhaskell@henning-thielemann.de
Safe HaskellSafe-Infered

Data.EventList.Relative.MixedBody

Description

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

Documentation

consBody, (./) :: body -> T time body -> T time bodySource

consTime, (/.) :: time -> T time body -> T time bodySource

empty :: T time bodySource

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

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

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

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

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

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

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