Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
compileWithDefault :: DefaultScope -> HeterocephalusSetting -> QuasiQuoterheterocephalus Text.Heterocephalus QuasiQuoter.
sqlSetListWithDefaults :: (MonadState SqlInsert m, Show a, ToSQL a) => SQL -> [Maybe a] -> m ()hpqtypes-extras Database.PostgreSQL.PQTypes.SQL.Builder No documentation available.
xpWithDefault :: a -> PU t a -> PU t axml-picklers Data.XML.Pickle Attempt to use a pickler. Return a default value when the pickler doesn't return anything (doesn't touch on UnpickleError). Unlike xpDefault, the default value is encoded in the XML document.
bareNameWithDefault :: (LensNamed a, NameOf a ~ NamedName) => ArgName -> a -> ArgNameAgda Agda.Syntax.Common No documentation available.
headWithDefault :: a -> [a] -> aAgda Agda.Utils.List Head function (safe). Returns a default value on empty lists. O(1).
headWithDefault 42 [] = 42 headWithDefault 42 [1,2,3] = 1
indexWithDefault :: a -> [a] -> Int -> aAgda Agda.Utils.List Lookup function with default value for index out of range. O(min n index). The name is chosen akin to genericIndex.
initWithDefault :: [a] -> [a] -> [a]Agda Agda.Utils.List init, safe. O(n).
lastWithDefault :: a -> [a] -> aAgda Agda.Utils.List Last element (safe). Returns a default list on empty lists. O(n).
tailWithDefault :: [a] -> [a] -> [a]Agda Agda.Utils.List Tail function (safe). Returns a default list on empty lists. O(1).
headWithDefault :: a -> [a] -> aBNFC BNFC.Utils Get the first element of a list, fallback for empty list.