String +parsec

module Text.Parsec.String
parsec Text.Parsec.String
Make Strings an instance of Stream with Char token type.
string :: Stream s m Char => String -> ParsecT s u m String
parsec Text.Parsec.Char, parsec Text.ParserCombinators.Parsec.Char
string s parses a sequence of characters given by s. Returns the parsed string (i.e. s). > divOrMod = string "div" > <|> string "mod"
stringLiteral :: GenTokenParser s u m -> ParsecT s u m String
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token
This lexeme 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).
messageString :: Message -> String
parsec Text.Parsec.Error, parsec Text.ParserCombinators.Parsec.Error
Extract the message string from an error message
module Text.Parsec.ByteString
parsec Text.Parsec.ByteString
Make strict ByteStrings an instance of Stream with Char token type.
updatePosString :: SourcePos -> String -> SourcePos
parsec Text.Parsec.Pos, parsec Text.ParserCombinators.Parsec.Pos
The expression updatePosString pos s updates the source position pos by calling updatePosChar on every character in s, ie. foldl updatePosChar pos string.