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. unbindMapWithDefault :: Functor f => b -> (Double -> b -> c) -> f (ReverseDouble s) -> IntMap b -> f c

    ad Numeric.AD.Internal.Reverse.Double

    No documentation available.

  2. runWithDefaultPartials :: WithDefaultPartials (m :: Type -> Type) a -> m a

    pandoc Text.Pandoc.Templates

    No documentation available.

  3. findWithDefault :: Enum k => a -> k -> EnumMap k a -> a

    enummapset Data.EnumMap.Lazy

    No documentation available.

  4. findWithDefault :: Enum k => a -> k -> EnumMap k a -> a

    enummapset Data.EnumMap.Strict

    No documentation available.

  5. openBinaryTempFileWithDefaultPermissions :: FilePath -> String -> IO (FilePath, Handle)

    ghc-internal GHC.Internal.System.IO

    Like openBinaryTempFile, but uses the default file permissions

  6. openTempFileWithDefaultPermissions :: FilePath -> String -> IO (FilePath, Handle)

    ghc-internal GHC.Internal.System.IO

    Like openTempFile, but uses the default file permissions

  7. getEnvWithDefault :: String -> String -> Action String

    shake Development.Shake

    getEnvWithDefault def var returns the value of the environment variable var, or the default value def if it is not set. Similar to getEnv.

    flags <- getEnvWithDefault "-Wall" "CFLAGS"
    cmd "gcc -c" [out] flags
    

  8. mergeWithDefault :: Attr -> AttrMap -> Attr

    brick Brick.AttrMap

    Given an attribute and a map, merge the attribute with the map's default attribute. If the map is forcing all lookups to a specific attribute, the forced attribute is returned without merging it with the one specified here. Otherwise the attribute given here is merged with the attribute map's default attribute in that any aspect of the specified attribute that is not provided falls back to the map default. For example,

    mergeWithDefault (fg blue) $ attrMap (bg red) []
    
    returns
    blue `on` red
    

  9. customMainWithDefaultVty :: Ord n => Maybe (BChan e) -> App s e n -> s -> IO (s, Vty)

    brick Brick.Main

    Like customMainWithVty, except that Vty is initialized with the default configuration.

  10. lookupWithDefault :: forall (m :: Type -> Type) a . Monad m => a -> Focus a m a

    focus Focus

    Reproduces the behaviour of Data.Map.findWithDefault with a better name.

Page 8 of many | Previous | Next