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. runMaybeP :: forall (m :: Type -> Type) a' a b' b r . Monad m => Proxy a' a b' b (MaybeT m) r -> Proxy a' a b' b m (Maybe r)

    pipes Pipes.Lift

    Run MaybeT in the base monad

  2. mapMaybe :: forall (m :: Type -> Type) a b r . Functor m => (a -> Maybe b) -> Pipe a b m r

    pipes Pipes.Prelude

    (mapMaybe f) yields Just results of f. Basic laws:

    mapMaybe (f >=> g) = mapMaybe f >-> mapMaybe g
    
    mapMaybe (pure @Maybe . f) = mapMaybe (Just . f) = map f
    
    mapMaybe (const Nothing) = drain
    
    As a result of the second law,
    mapMaybe return = mapMaybe Just = cat
    

  3. class EqMaybe a b

    haskell-gi-base Data.GI.Base.Attributes

    No documentation available.

  4. eqMaybe :: EqMaybe a b => a -> b -> Bool

    haskell-gi-base Data.GI.Base.Attributes

    No documentation available.

  5. gvariantFromMaybe :: IsGVariant a => Maybe a -> IO GVariant

    haskell-gi-base Data.GI.Base.GVariant

    Convert a Maybe value into a corresponding GVariant of maybe type.

  6. gvariantToMaybe :: IsGVariant a => GVariant -> IO (Maybe (Maybe a))

    haskell-gi-base Data.GI.Base.GVariant

    Try to decode a maybe GVariant into the corresponding Maybe type. If the conversion is successful this returns Just x, where x itself is of Maybe type. So, in particular, Just Nothing indicates a successful call, and means that the GVariant of maybe type was empty.

  7. class EqMaybe a b

    haskell-gi-base Data.GI.Base.ShortPrelude

    No documentation available.

  8. eqMaybe :: EqMaybe a b => a -> b -> Bool

    haskell-gi-base Data.GI.Base.ShortPrelude

    No documentation available.

  9. mapMaybe :: (a -> Maybe b) -> CharMap a -> CharMap b

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  10. mapMaybeWithKey :: (Key -> a -> Maybe b) -> CharMap a -> CharMap b

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

Page 154 of many | Previous | Next