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.
parseQueryParamMaybe :: FromHttpApiData a => Text -> Maybe ahttp-api-data Web.Internal.HttpApiData Parse query param value in a Maybe.
>>> parseQueryParamMaybe "true" :: Maybe Bool Just True
parseUrlPieceMaybe :: FromHttpApiData a => Text -> Maybe ahttp-api-data Web.Internal.HttpApiData Parse URL path piece in a Maybe.
>>> parseUrlPieceMaybe "12" :: Maybe Int Just 12
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.
-
pipes Pipes.Lift Run MaybeT in the base monad
mapMaybe :: forall (m :: Type -> Type) a b r . Functor m => (a -> Maybe b) -> Pipe a b m rpipes 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
mapMaybe :: (a -> Maybe b) -> CharMap a -> CharMap bregex-tdfa Data.IntMap.CharMap2 No documentation available.
mapMaybeWithKey :: (Key -> a -> Maybe b) -> CharMap a -> CharMap bregex-tdfa Data.IntMap.CharMap2 No documentation available.
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.
-
haskell-gi-base Data.GI.Base.Attributes No documentation available.