Copyright | (c) Henning Thielemann 2007-2010 |
---|---|

Maintainer | haskell@henning-thielemann.de |

Stability | stable |

Portability | Haskell 98 |

Safe Haskell | Safe |

Language | Haskell98 |

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

# Documentation

Functor (T time) Source # | |

Foldable (T time) Source # | |

Traversable (T time) Source # | |

(Eq time, Eq body) => Eq (T time body) Source # | |

(Ord time, Ord body) => Ord (T time body) Source # | |

(Show time, Show body) => Show (T time body) Source # | |

Semigroup (T time body) Source # | |

Monoid (T time body) Source # | |

(Arbitrary time, Arbitrary body) => Arbitrary (T time body) Source # | |

fromPairList :: [(body, time)] -> T time body Source #

toPairList :: T time body -> [(body, time)] Source #

concatMapMonoid :: Monoid m => (time -> m) -> (body -> m) -> T time body -> m Source #

traverse :: Applicative m => (time0 -> m time1) -> (body0 -> m body1) -> T time0 body0 -> m (T time1 body1) Source #

traverse_ :: Applicative m => (time -> m ()) -> (body -> m ()) -> T time body -> m () Source #

traverseBody :: Applicative m => (body0 -> m body1) -> T time body0 -> m (T time body1) Source #

traverseTime :: Applicative m => (time0 -> m time1) -> T time0 body -> m (T time1 body) Source #