eof package:parsers

This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyChar <?> "end of input"
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyChar <?> "end of input"
As the dual of oneOf, noneOf cs succeeds if the current character is not in the supplied list of characters cs. Returns the parsed character.
consonant = noneOf "aeiou"
As the dual of oneOf, noneOf cs succeeds if the current character is not in the supplied list of characters cs. Returns the parsed character.
consonant = noneOf "aeiou"
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"
oneOfSet cs succeeds if the current character is in the supplied set of characters cs. Returns the parsed character. See also satisfy.
vowel  = oneOf "aeiou"