Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupWithDefaultM :: Monad m => m a -> Focus a m afocus Focus A monadic version of lookupWithDefault.
mapFindWithDefault :: a -> Label -> LabelMap a -> aghc-lib-parser GHC.Cmm.Dataflow.Label No documentation available.
findWithDefault :: a -> Key -> Word64Map a -> aghc-lib-parser GHC.Data.Word64Map.Internal The expression (findWithDefault def k map) returns the value at key k or returns def when the key is not an element of the map.
findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x' findWithDefault 'x' 5 (fromList [(5,'a'), (3,'b')]) == 'a'
findWithDefault :: a -> Key -> Word64Map a -> aghc-lib-parser GHC.Data.Word64Map.Lazy The expression (findWithDefault def k map) returns the value at key k or returns def when the key is not an element of the map.
findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x' findWithDefault 'x' 5 (fromList [(5,'a'), (3,'b')]) == 'a'
findWithDefault :: a -> Key -> Word64Map a -> aghc-lib-parser GHC.Data.Word64Map.Strict The expression (findWithDefault def k map) returns the value at key k or returns def when the key is not an element of the map.
findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x' findWithDefault 'x' 5 (fromList [(5,'a'), (3,'b')]) == 'a'
findWithDefault :: a -> Key -> Word64Map a -> aghc-lib-parser GHC.Data.Word64Map.Strict.Internal The expression (findWithDefault def k map) returns the value at key k or returns def when the key is not an element of the map.
findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x' findWithDefault 'x' 5 (fromList [(5,'a'), (3,'b')]) == 'a'
lookupWithDefaultUFM :: Uniquable key => UniqFM key elt -> elt -> key -> eltghc-lib-parser GHC.Types.Unique.FM No documentation available.
lookupWithDefaultUniqMap :: Uniquable k => UniqMap k a -> a -> k -> aghc-lib-parser GHC.Types.Unique.Map No documentation available.
lookupWithDefaultVarEnv :: VarEnv a -> a -> Var -> aghc-lib-parser GHC.Types.Var.Env No documentation available.
lookupWithDefaultModuleEnv :: ModuleEnv a -> a -> Module -> aghc-lib-parser GHC.Unit.Module.Env No documentation available.