Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
beam-core Database.Beam.Query No documentation available.
-
beam-core Database.Beam.Query No documentation available.
findWithDefault :: a -> Int -> MonoidalIntMap a -> amonoidal-containers Data.IntMap.Monoidal O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault :: a -> Int -> MonoidalIntMap a -> amonoidal-containers Data.IntMap.Monoidal.Strict O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault :: Ord k => a -> k -> MonoidalMap k a -> amonoidal-containers Data.Map.Monoidal O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault :: Ord k => a -> k -> MonoidalMap k a -> amonoidal-containers Data.Map.Monoidal.Strict O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault :: a -> Key -> NEIntMap a -> anonempty-containers Data.IntMap.NonEmpty O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault 'x' 1 (fromList ((5,'a') :| [(3,'b')])) == 'x' findWithDefault 'x' 5 (fromList ((5,'a') :| [(3,'b')])) == 'a'
findWithDefault :: Ord k => a -> k -> NEMap k a -> anonempty-containers Data.Map.NonEmpty O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.
findWithDefault 'x' 1 (fromList ((5,'a') :| [(3,'b')])) == 'x' findWithDefault 'x' 5 (fromList ((5,'a') :| [(3,'b')])) == 'a'
getArgWithDefault :: Arguments -> String -> Option -> Stringdocopt System.Console.Docopt Same as getArg, but eliminate Nothing with a default argument.
getArgWithDefault :: Arguments -> String -> Option -> Stringdocopt System.Console.Docopt.NoTH Same as getArg, but eliminate Nothing with a default argument.