char package:parsers
char c parses a single character
c. Returns the
parsed character (i.e.
c).
e.g.
semiColon = char ';'
Parsers for character streams
This token parser parses a single literal character. Returns the
literal character value. This parsers deals correctly with escape
sequences. The literal character is parsed according to the grammar
rules defined in the Haskell report (which matches most programming
languages quite closely).
This parser parses a character literal without the surrounding
quotation marks.
This parser does NOT swallow trailing whitespace
Additional functionality needed to parse character streams.
This parser succeeds for any character. Returns the parsed character.
notChar c parses any single character other than c.
Returns the parsed character.