id +parsec

identifier :: GenTokenParser s u m -> ParsecT s u m String
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token
This lexeme parser parses a legal identifier. Returns the identifier string. This parser will fail on identifiers that are reserved words. Legal identifier (start) characters and reserved words are defined in the LanguageDef that is passed to makeTokenParser. An identifier is treated as a single token using try.
identLetter :: GenLanguageDef s u m -> ParsecT s u m Char
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token, parsec Text.ParserCombinators.Parsec.Language
This parser should accept any legal tail characters of identifiers. For example alphaNum <|> char "_".
identStart :: GenLanguageDef s u m -> ParsecT s u m Char
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token, parsec Text.ParserCombinators.Parsec.Language
This parser should accept any start characters of identifiers. For example letter <|> char "_".