Hoogle Search

Within LTS Haskell 22.24 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mapFindWithDefault :: IsMap map => a -> KeyOf map -> map a -> a

    ghc GHC.Cmm.Dataflow.Collections

    No documentation available.

  2. lookupWithDefaultUFM :: Uniquable key => UniqFM key elt -> elt -> key -> elt

    ghc GHC.Types.Unique.FM

    No documentation available.

  3. lookupWithDefaultUFM_Directly :: UniqFM key elt -> elt -> Unique -> elt

    ghc GHC.Types.Unique.FM

    No documentation available.

  4. lookupWithDefaultUniqMap :: Uniquable k => UniqMap k a -> a -> k -> a

    ghc GHC.Types.Unique.Map

    No documentation available.

  5. lookupWithDefaultVarEnv :: VarEnv a -> a -> Var -> a

    ghc GHC.Types.Var.Env

    No documentation available.

  6. lookupWithDefaultModuleEnv :: ModuleEnv a -> a -> Module -> a

    ghc GHC.Unit.Module.Env

    No documentation available.

  7. findWithDefault :: a -> Key -> CharMap a -> a

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  8. findWithDefault :: Enum key => a -> key -> EnumMap key a -> a

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  9. findWithDefault :: IsMap map => MapValue map -> ContainerKey map -> map -> MapValue map

    mono-traversable Data.Containers

    Like lookup, but uses a default value when the key does not exist in the map.

  10. findWithDefault :: Ord k => a -> k -> Map k a -> a

    rio RIO.Map

    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'
    

Page 4 of many | Previous | Next