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.

  1. lookupWithDefaultM :: Monad m => m a -> Focus a m a

    focus Focus

    A monadic version of lookupWithDefault.

  2. mapFindWithDefault :: a -> Label -> LabelMap a -> a

    ghc-lib-parser GHC.Cmm.Dataflow.Label

    No documentation available.

  3. findWithDefault :: a -> Key -> Word64Map a -> a

    ghc-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'
    

  4. findWithDefault :: a -> Key -> Word64Map a -> a

    ghc-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'
    

  5. findWithDefault :: a -> Key -> Word64Map a -> a

    ghc-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'
    

  6. findWithDefault :: a -> Key -> Word64Map a -> a

    ghc-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'
    

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

    ghc-lib-parser GHC.Types.Unique.FM

    No documentation available.

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

    ghc-lib-parser GHC.Types.Unique.Map

    No documentation available.

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

    ghc-lib-parser GHC.Types.Var.Env

    No documentation available.

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

    ghc-lib-parser GHC.Unit.Module.Env

    No documentation available.

Page 9 of many | Previous | Next