event-list-0.0.9: Event lists with relative or absolute time stampsSource codeContentsIndex
Data.EventList.Relative.BodyTime
PortabilityHaskell 98
Stabilitystable
Maintainerhaskell@henning-thielemann.de
Description
Event lists starting with a body and ending with a time difference.
Documentation
data T time body Source
show/hide Instances
(Eq time, Eq body) => Eq (T time body)
(Ord time, Ord body) => Ord (T time body)
(Show time, Show body) => Show (T time body)
(Arbitrary time, Arbitrary body) => Arbitrary (T time body)
empty :: T time bodySource
fromPairList :: [(body, time)] -> T time bodySource
toPairList :: T time body -> [(body, time)]Source
concatMapMonoid :: Monoid m => (time -> m) -> (body -> m) -> T time body -> mSource
mapM :: Monad m => (time0 -> m time1) -> (body0 -> m body1) -> T time0 body0 -> m (T time1 body1)Source
foldr :: (body -> a -> b) -> (time -> b -> a) -> b -> T time body -> bSource
foldrPair :: (body -> time -> a -> a) -> a -> T time body -> aSource
cons :: body -> time -> T time body -> T time bodySource
snoc :: T time body -> body -> time -> T time bodySource
viewL :: T time body -> Maybe ((body, time), T time body)Source
viewR :: T time body -> Maybe (T time body, (body, time))Source
switchL :: c -> (body -> time -> T time body -> c) -> T time body -> cSource
switchR :: c -> (T time body -> body -> time -> c) -> T time body -> cSource
span :: (body -> Bool) -> T time body -> (T time body, T time body)Source
Produced by Haddock version 2.4.2