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.

  1. mapMaybe :: Enum key => (a -> Maybe b) -> EnumMap key a -> EnumMap key b

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  2. mapMaybeWithKey :: Enum key => (key -> a -> Maybe b) -> EnumMap key a -> EnumMap key b

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  3. returnMayBeNull :: Callable -> Bool

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

  4. wrapMaybe :: Arg -> CodeGen e Bool

    haskell-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)).

  5. returnMayBeNull :: Callable -> Bool

    haskell-gi Data.GI.GIR.Callable

    No documentation available.

  6. newtype FromMaybe b

    foldl Control.Foldl.NonEmpty

    instance Monad m => Semigroup (FromMaybe m a) where
    mappend (FromMaybe f) (FromMaybe g) = FromMaybeM (f . Just . g)
    

  7. FromMaybe :: (Maybe b -> b) -> FromMaybe b

    foldl Control.Foldl.NonEmpty

    No documentation available.

  8. appFromMaybe :: FromMaybe b -> Maybe b -> b

    foldl Control.Foldl.NonEmpty

    No documentation available.

  9. indexEndMaybe :: ShortText -> Int -> Maybe Char

    text-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
    

  10. indexMaybe :: ShortText -> Int -> Maybe Char

    text-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
    

Page 155 of many | Previous | Next