Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
many :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]pandoc Text.Pandoc.Parsing many p applies the parser p zero or more times. Returns a list of the returned values of p.
identifier = do{ c <- letter ; cs <- many (alphaNum <|> char '_') ; return (c:cs) }many1 :: forall s u (m :: Type -> Type) a . ParsecT s u m a -> ParsecT s u m [a]pandoc Text.Pandoc.Parsing many1 p applies the parser p one or more times. Returns a list of the returned values of p.
word = many1 letter
-
pandoc Text.Pandoc.Parsing Like many1, but packs its result.
-
pandoc Text.Pandoc.Parsing Like manyTill, but reads at least one item.
-
pandoc Text.Pandoc.Parsing Like many1Till, but packs its result
-
pandoc Text.Pandoc.Parsing Like many, but packs its result.
-
pandoc Text.Pandoc.Parsing manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments:
simpleComment = do{ string "<!--" ; manyTill anyChar (try (string "-->")) }Note the overlapping parsers anyChar and string "-->", and therefore the use of the try combinator. -
pandoc Text.Pandoc.Parsing Like manyTill, but packs its result.
-
pandoc Text.Pandoc.Parsing Like manyTill, but also returns the result of end parser.
-
pandoc Text.Pandoc.Parsing Like manyUntil, but also packs its result.