Moduleghc-9.10.3GHC2021
GHC.Utils.Lexeme
- 19 values
- Packageghc-9.10.3
- Exports19
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceLexeme.hs
Lexical characteristics of Haskell names
12 declarationsUse these functions to figure what kind of name a FastString represents; these functions do not check that the identifier is valid.
Validating identifiers
7 declarationsThese functions (working over plain old Strings) check to make sure that the identifier is valid.
Is this an acceptable variable name?
Is this an acceptable constructor name?
Is this an acceptable type name?
Is this an acceptable alphanumeric variable name, assuming it starts with an acceptable letter?
Is this an acceptable symbolic variable name, assuming it starts with an acceptable character?
Is this an acceptable alphanumeric constructor name, assuming it starts with an acceptable letter?
Is this an acceptable symbolic constructor name, assuming it starts with an acceptable character?