Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupNode :: Uniquable k => Graph k cls color -> k -> Maybe (Node k cls color)ghc GHC.Data.Graph.Ops Lookup a node from the graph.
lookupTM :: TrieMap m => Key m -> m b -> Maybe bghc GHC.Data.TrieMap No documentation available.
lookupGE :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.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
lookupGT :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.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
lookupLE :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.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')
lookupLT :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.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')
lookupMax :: Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.Internal The maximal key of the map. Returns Nothing if the map is empty.
lookupMin :: Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.Internal The minimal key of the map. Returns Nothing if the map is empty.
lookupGE :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.Lazy 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
lookupGT :: Key -> Word64Map a -> Maybe (Key, a)ghc GHC.Data.Word64Map.Lazy 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