Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
commonmark Commonmark.TokParsers Apply p many times until stop succeeds, discarding results.
-
dbus DBus.Client Match any signal.
fromAnyEffect :: forall (e :: Effect) . AnyEffect -> EffectRep (DispatchOf e) eeffectful-core Effectful.Internal.Env No documentation available.
fromAnyRelinker :: forall (e :: Effect) . AnyRelinker -> Relinker (EffectRep (DispatchOf e)) eeffectful-core Effectful.Internal.Env No documentation available.
toAnyEffect :: forall (e :: Effect) . EffectRep (DispatchOf e) e -> AnyEffecteffectful-core Effectful.Internal.Env No documentation available.
toAnyRelinker :: forall (e :: Effect) . Relinker (EffectRep (DispatchOf e)) e -> AnyRelinkereffectful-core Effectful.Internal.Env No documentation available.
-
effectful-core Effectful.Internal.Utils No documentation available.
many :: Alternative f => f a -> f [a]effectful-core Effectful.NonDet Zero or more.
Examples
>>> many (putStr "la") lalalalalalalalala... * goes on forever *
>>> many Nothing Just []
>>> take 5 <$> many (Just 1) * hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.pMany :: Text -> (Element -> Maybe a) -> [Element] -> [a]feed Text.Atom.Feed.Import No documentation available.
pMany :: Text -> (Element -> Maybe a) -> [Element] -> [a]feed Text.RSS.Import No documentation available.