Hoogle Search

Within LTS Haskell 24.61 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. lookupLast :: Interval k e => IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Lazy

    Returns the key with the largest endpoint and its associated value. If there is more than one key with that endpoint, return the rightmost. O(n), since all keys could have the same endpoint. O(log n) average case.

  2. lookupMax :: IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Lazy

    O(log n). Returns the largest key and its associated value.

  3. lookupMin :: IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Lazy

    O(log n). Returns the smallest key and its associated value.

  4. lookupGE :: Ord k => k -> IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Find the smallest key equal to or larger than the given one and return it along with its value.

  5. lookupGT :: Ord k => k -> IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Find the smallest key larger than the given one and return it along with its value.

  6. lookupLE :: Ord k => k -> IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Find the largest key equal to or smaller than the given one and return it along with its value.

  7. lookupLT :: Ord k => k -> IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Find the largest key smaller than the given one and return it along with its value.

  8. lookupLast :: Interval k e => IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    Returns the key with the largest endpoint and its associated value. If there is more than one key with that endpoint, return the rightmost. O(n), since all keys could have the same endpoint. O(log n) average case.

  9. lookupMax :: IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Returns the largest key and its associated value.

  10. lookupMin :: IntervalMap k v -> Maybe (k, v)

    IntervalMap Data.IntervalMap.Generic.Strict

    O(log n). Returns the smallest key and its associated value.

Page 145 of many | Previous | Next