Hoogle Search

Within LTS Haskell 24.12 (ghc-9.10.3)

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

  1. lookupMax :: Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict

    The maximal key of the map. Returns Nothing if the map is empty.

  2. lookupMin :: Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict

    The minimal key of the map. Returns Nothing if the map is empty.

  3. lookupGE :: Key -> Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    Find smallest key greater or equal to the given one and return the corresponding (key, value) pair.

    lookupGE 3 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a')
    lookupGE 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    lookupGE 6 (fromList [(3,'a'), (5,'b')]) == Nothing
    

  4. lookupGT :: Key -> Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    Find smallest key greater than the given one and return the corresponding (key, value) pair.

    lookupGT 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    lookupGT 5 (fromList [(3,'a'), (5,'b')]) == Nothing
    

  5. lookupLE :: Key -> Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    Find largest key smaller or equal to the given one and return the corresponding (key, value) pair.

    lookupLE 2 (fromList [(3,'a'), (5,'b')]) == Nothing
    lookupLE 4 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a')
    lookupLE 5 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    

  6. lookupLT :: Key -> Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    Find largest key smaller than the given one and return the corresponding (key, value) pair.

    lookupLT 3 (fromList [(3,'a'), (5,'b')]) == Nothing
    lookupLT 4 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a')
    

  7. lookupMax :: Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    The maximal key of the map. Returns Nothing if the map is empty.

  8. lookupMin :: Word64Map a -> Maybe (Key, a)

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    The minimal key of the map. Returns Nothing if the map is empty.

  9. lookupGE :: Key -> Word64Set -> Maybe Key

    ghc-lib-parser GHC.Data.Word64Set

    Find smallest element greater or equal to the given one.

    lookupGE 3 (fromList [3, 5]) == Just 3
    lookupGE 4 (fromList [3, 5]) == Just 5
    lookupGE 6 (fromList [3, 5]) == Nothing
    

  10. lookupGT :: Key -> Word64Set -> Maybe Key

    ghc-lib-parser GHC.Data.Word64Set

    Find smallest element greater than the given one.

    lookupGT 4 (fromList [3, 5]) == Just 5
    lookupGT 5 (fromList [3, 5]) == Nothing
    

Page 85 of many | Previous | Next