any -bytestring +parsec

anyChar :: Stream s m Char => ParsecT s u m Char
parsec Text.Parsec.Char, parsec Text.ParserCombinators.Parsec.Char
This parser succeeds for any character. Returns the parsed character.
anyToken :: (Stream s m t, Show t) => ParsecT s u m t
parsec Text.Parsec.Combinator, parsec Text.ParserCombinators.Parsec.Combinator
The parser anyToken accepts any kind of token. It is for example used to implement eof. Returns the accepted token.
many :: ParsecT s u m a -> ParsecT s u m [a]
parsec Text.Parsec.Prim, parsec Text.ParserCombinators.Parsec.Prim
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 :: Stream s m t => ParsecT s u m a -> ParsecT s u m [a]
parsec Text.Parsec.Combinator, parsec Text.ParserCombinators.Parsec.Combinator
many1 p applies the parser p one or more times. Returns a list of the returned values of p. > word = many1 letter
manyAccum :: (a -> [a] -> [a]) -> ParsecT s u m a -> ParsecT s u m [a]
parsec Text.Parsec.Prim
manyTill :: Stream s m t => ParsecT s u m a -> ParsecT s u m end -> ParsecT s u m [a]
parsec Text.Parsec.Combinator, parsec Text.ParserCombinators.Parsec.Combinator
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.
skipMany :: ParsecT s u m a -> ParsecT s u m ()
parsec Text.Parsec.Prim, parsec Text.ParserCombinators.Parsec.Prim
skipMany p applies the parser p zero or more times, skipping its result. > spaces = skipMany space
skipMany1 :: Stream s m t => ParsecT s u m a -> ParsecT s u m ()
parsec Text.Parsec.Combinator, parsec Text.ParserCombinators.Parsec.Combinator
skipMany1 p applies the parser p one or more times, skipping its result.