Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapMaybe :: Enum key => (a -> Maybe b) -> EnumMap key a -> EnumMap key bregex-tdfa Data.IntMap.EnumMap2 No documentation available.
mapMaybeWithKey :: Enum key => (key -> a -> Maybe b) -> EnumMap key a -> EnumMap key bregex-tdfa Data.IntMap.EnumMap2 No documentation available.
returnMayBeNull :: Callable -> Boolhaskell-gi Data.GI.CodeGen.API No documentation available.
wrapMaybe :: Arg -> CodeGen e Boolhaskell-gi Data.GI.CodeGen.Callable Given an argument to a function, return whether it should be wrapped in a maybe type (useful for nullable types). We do some sanity checking to make sure that the argument is actually nullable (a relatively common annotation mistake is to mix up (optional) with (nullable)).
returnMayBeNull :: Callable -> Boolhaskell-gi Data.GI.GIR.Callable No documentation available.
-
foldl Control.Foldl.NonEmpty instance Monad m => Semigroup (FromMaybe m a) where mappend (FromMaybe f) (FromMaybe g) = FromMaybeM (f . Just . g)
FromMaybe :: (Maybe b -> b) -> FromMaybe bfoldl Control.Foldl.NonEmpty No documentation available.
appFromMaybe :: FromMaybe b -> Maybe b -> bfoldl Control.Foldl.NonEmpty No documentation available.
indexEndMaybe :: ShortText -> Int -> Maybe Chartext-short Data.Text.Short Lookup i-th code-point from the end of ShortText. Returns Nothing if out of bounds.
indexEndMaybe (singleton c) 0 == Just c
indexEndMaybe t 0 == fmap snd (unsnoc t)
indexEndMaybe mempty i == Nothing
indexMaybe :: ShortText -> Int -> Maybe Chartext-short Data.Text.Short Lookup i-th code-point in ShortText. Returns Nothing if out of bounds.
indexMaybe (singleton c) 0 == Just c
indexMaybe t 0 == fmap fst (uncons t)
indexMaybe mempty i == Nothing