Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
autodocodec Autodocodec.Codec No documentation available.
toPermutationWithDefault :: Alternative m => a -> m a -> Permutation m aparser-combinators Control.Applicative.Permutations "Lifts" a parser with a default value to a permutation parser. If no permutation containing the supplied parser can be parsed from the input, then the supplied default value is returned in lieu of a parse result.
toPermutationWithDefault :: Alternative m => a -> m a -> Permutation m aparser-combinators Control.Monad.Permutations "Lifts" a parser with a default value to a permutation parser. If no permutation containing the supplied parser can be parsed from the input, then the supplied default value is returned in lieu of a parse result.
findWithDefault :: Ord k => a -> k -> Map k a -> ario 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'
themedIconNewWithDefaultFallbacks :: (HasCallStack, MonadIO m) => Text -> m ThemedIcongi-gio GI.Gio.Objects.ThemedIcon Creates a new themed icon for iconname, and all the names that can be created by shortening iconname at '-' characters. In the following example, icon1 and icon2 are equivalent:
C code
const char *names[] = { "gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome" }; icon1 = g_themed_icon_new_from_names (names, 4); icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio");
lookupWithDefault :: ByteString -> CI ByteString -> Headers -> ByteStringsnap-core Snap.Types.Headers Look up the value of a given HTTP header field or return the provided default value when that header field is not present. Example:
ghci> :set -XOverloadedStrings ghci> let hdrs = H.fromList [("Host", "localhost")] ghci> H.lookupWithDefault "host" "127.0.0.1" $ hdrs "localhost" ghci> H.lookupWithDefault "Accept" "text/plain" $ hdrs "text/plain"
unbindMapWithDefault :: (Functor f, Num a) => b -> (a -> b -> c) -> f (Kahn a) -> IntMap b -> f cad Numeric.AD.Internal.Kahn No documentation available.
unbindMapWithDefault :: Functor f => b -> (Double -> b -> c) -> f KahnDouble -> IntMap b -> f cad Numeric.AD.Internal.Kahn.Double No documentation available.
unbindMapWithDefault :: Functor f => b -> (Float -> b -> c) -> f KahnFloat -> IntMap b -> f cad Numeric.AD.Internal.Kahn.Float No documentation available.
-
ad Numeric.AD.Internal.Reverse No documentation available.