Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. parseQueryParamMaybe :: FromHttpApiData a => Text -> Maybe a

    http-api-data Web.Internal.HttpApiData

    Parse query param value in a Maybe.

    >>> parseQueryParamMaybe "true" :: Maybe Bool
    Just True
    

  2. parseUrlPieceMaybe :: FromHttpApiData a => Text -> Maybe a

    http-api-data Web.Internal.HttpApiData

    Parse URL path piece in a Maybe.

    >>> parseUrlPieceMaybe "12" :: Maybe Int
    Just 12
    

  3. contentMaybe :: forall (m :: Type -> Type) o . MonadThrow m => ConduitT Event o m (Maybe Text)

    xml-conduit Text.XML.Stream.Parse

    Grabs the next piece of content if available. This function skips over any comments, instructions or entities, and concatenates all content until the next start or end tag.

  4. 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

  5. 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
    

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

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

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

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

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

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

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

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  10. class EqMaybe a b

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

    No documentation available.

Page 158 of many | Previous | Next