Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupIndex :: Ord k => k -> MonoidalMap k a -> Maybe Intmonoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupLE :: Ord k => k -> MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupLT :: Ord k => k -> MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupMax :: MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupMin :: MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupGE :: Key -> NEIntMap a -> Maybe (Key, a)nonempty-containers Data.IntMap.NonEmpty O(log n). 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 -> NEIntMap a -> Maybe (Key, a)nonempty-containers Data.IntMap.NonEmpty O(log n). 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 -> NEIntMap a -> Maybe (Key, a)nonempty-containers Data.IntMap.NonEmpty O(log n). 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 -> NEIntMap a -> Maybe (Key, a)nonempty-containers Data.IntMap.NonEmpty O(log n). 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')
lookupGE :: Key -> NEIntSet -> Maybe Keynonempty-containers Data.IntSet.NonEmpty O(log n). Find smallest element greater or equal to the given one.
lookupLT 3 (fromList (3 :| [5])) == Just 3 lookupLT 4 (fromList (3 :| [5])) == Just 5 lookupLT 6 (fromList (3 :| [5])) == Nothing