Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

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

    ghc 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')
    

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

    ghc GHC.Data.Word64Map.Strict.Internal

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

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

    ghc GHC.Data.Word64Map.Strict.Internal

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

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

    ghc 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
    

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

    ghc GHC.Data.Word64Set

    Find smallest element greater than the given one.

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

  6. lookupLE :: Key -> Word64Set -> Maybe Key

    ghc GHC.Data.Word64Set

    Find largest element smaller or equal to the given one.

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

  7. lookupLT :: Key -> Word64Set -> Maybe Key

    ghc GHC.Data.Word64Set

    Find largest element smaller than the given one.

    lookupLT 3 (fromList [3, 5]) == Nothing
    lookupLT 5 (fromList [3, 5]) == Just 3
    

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

    ghc GHC.Data.Word64Set.Internal

    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
    

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

    ghc GHC.Data.Word64Set.Internal

    Find smallest element greater than the given one.

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

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

    ghc GHC.Data.Word64Set.Internal

    Find largest element smaller or equal to the given one.

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

Page 49 of many | Previous | Next