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.TimeMixed

Description

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

Synopsis

Documentation

snocBody :: T time body -> body -> T time bodySource

snocTime :: T time body -> time -> T time bodySource

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

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

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

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

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

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

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

mapBodyR :: (T time0 body -> T time1 body, body -> body) -> T time0 body -> T time1 bodySource

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

mapBodyInit :: (T time0 body -> T time1 body) -> T time0 body -> T time1 bodySource

appendBodyEnd :: C time => T time body -> T time body -> T time bodySource

This is not a good name, expect a change.

prependBodyEnd :: T time body -> T time body -> T time bodySource

This is not a good name, expect a change.

splitAtTime :: C time => time -> T time body -> (T time body, T time body)Source

takeTime :: C time => time -> T time body -> T time bodySource

dropTime :: C time => time -> T time body -> T time bodySource