Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
withDefaultStyle :: BackendProgram a -> BackendProgram aChart Graphics.Rendering.Chart.Drawing No documentation available.
withDefaults :: (Monoid s, Ord s) => Defaults s () -> Q [Dec] -> Q [Dec]flexible-defaults Language.Haskell.TH.FlexibleDefaults Given a Q [Dec] containing an instance declaration, complete that instance declaration using the given Defaults specification. Typical usage would be along the lines of the following:
$(withDefaults fooDefaults [d| instance Foo t where {- ... -} |])
newtype
WithDefaultPartials (m :: Type -> Type) apandoc Text.Pandoc.Templates Wrap a Monad in this if you want partials to be taken only from the default data files.
WithDefaultPartials :: m a -> WithDefaultPartials (m :: Type -> Type) apandoc Text.Pandoc.Templates No documentation available.
data
WithDefault' a (b :: Bool)Agda Agda.Utils.WithDefault We don't want to have to remember for each flag whether its default value is True or False. So we bake it into the representation: the flag's type will mention its default value as a phantom parameter.
-
svg-tree Graphics.Svg.Types Define an empty 'default' element for the SVG tree. It is used as base when parsing the element from XML.
openBinaryTempFileWithDefaultPermissions :: FilePath -> String -> IO (FilePath, Handle)base System.IO Like openBinaryTempFile, but uses the default file permissions
openTempFileWithDefaultPermissions :: FilePath -> String -> IO (FilePath, Handle)base System.IO Like openTempFile, but uses the default file permissions
findWithDefault :: a -> Key -> IntMap a -> acontainers Data.IntMap.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 -> IntMap a -> acontainers Data.IntMap.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'