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.
-
haskell-src-exts Language.Haskell.Exts.Lexer No documentation available.
DerivAnyclass :: l -> DerivStrategy lhaskell-src-exts Language.Haskell.Exts.Syntax -XDeriveAnyClass
data
TooManyBytesReadException io-streams System.IO.Streams.ByteString Thrown by throwIfProducesMoreThan when too many bytes were read from the original InputStream.
data
TooManyBytesWrittenException io-streams System.IO.Streams.ByteString Thrown by throwIfConsumesMoreThan when too many bytes were sent to the produced OutputStream.
oany :: MonoFoldable mono => (Element mono -> Bool) -> mono -> Boolmono-traversable Data.MonoTraversable Are any of the elements in a monomorphic container converted to booleans True?
many :: Alternative f => f a -> f [a]parser-combinators Control.Applicative.Combinators 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.manyTill :: Alternative m => m a -> m end -> m [a]parser-combinators Control.Applicative.Combinators manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. end result is consumed and lost. Use manyTill_ if you wish to keep it. See also: skipMany, skipManyTill.
manyTill_ :: Alternative m => m a -> m end -> m ([a], end)parser-combinators Control.Applicative.Combinators manyTill_ p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p and the end result. Use manyTill if you have no need in the result of the end. See also: skipMany, skipManyTill.
skipMany :: Alternative m => m a -> m ()parser-combinators Control.Applicative.Combinators skipMany p applies the parser p zero or more times, skipping its result. See also: manyTill, skipManyTill.
skipManyTill :: Alternative m => m a -> m end -> m endparser-combinators Control.Applicative.Combinators skipManyTill p end applies the parser p zero or more times skipping results until parser end succeeds. Result parsed by end is then returned. See also: manyTill, skipMany.