eof +parsec

eof :: (Stream s m t, Show t) => ParsecT s u m ()
parsec Text.Parsec.Combinator, parsec Text.ParserCombinators.Parsec.Combinator
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy. > eof = notFollowedBy anyToken <?> "end of input"
noneOf :: Stream s m Char => [Char] -> ParsecT s u m Char
parsec Text.Parsec.Char, parsec Text.ParserCombinators.Parsec.Char
As the dual of oneOf, noneOf cs succeeds if the current character not in the supplied list of characters cs. Returns the parsed character. > consonant = noneOf "aeiou"
oneOf :: Stream s m Char => [Char] -> ParsecT s u m Char
parsec Text.Parsec.Char, parsec Text.ParserCombinators.Parsec.Char
oneOf cs succeeds if the current character is in the supplied list of characters cs. Returns the parsed character. See also satisfy. > vowel = oneOf "aeiou"