string package:parsers

string s parses a sequence of characters given by s. Returns the parsed string (i.e. s).
divOrMod    =   string "div"
<|> string "mod"
This token parser parses a literal string. Returns the literal string value. This parsers deals correctly with escape sequences and gaps. The literal string is parsed according to the grammar rules defined in the Haskell report (which matches most programming languages quite closely).
This token parser behaves as stringLiteral, but for single-quoted strings.