Copyright | (c) NoviSci Inc 2020 |
---|---|
License | BSD3 |
Maintainer | bsaul@novisci.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- combineIntervals :: IntervalCombinable a => [Interval a] -> [Interval a]
- gaps :: IntervalCombinable a => [Interval a] -> [Interval a]
- durations :: (Functor f, IntervalSizeable a b) => f (Interval a) -> f b
Documentation
combineIntervals :: IntervalCombinable a => [Interval a] -> [Interval a] Source #
Returns a list of intervals where any intervals that meet or share support are combined into one interval. *To work properly, the input list should be sorted*.