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.
lookupMin :: MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal No documentation available.
lookupGE :: Ord k => k -> MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
lookupGT :: Ord k => k -> MonoidalMap k a -> Maybe (k, a)monoidal-containers Data.Map.Monoidal.Strict No documentation available.
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