|
Text.Read.Lex | Portability | non-portable (uses Text.ParserCombinators.ReadP) | Stability | provisional | Maintainer | libraries@haskell.org |
|
|
|
Description |
The cut-down Haskell lexer, used by Text.Read
|
|
Synopsis |
|
|
|
Documentation |
|
|
Haskell lexemes.
| Constructors | Char Char | Character literal
| String String | String literal, with escapes interpreted
| Punc String | Punctuation or reserved symbol, e.g. (, ::
| Ident String | Haskell identifier, e.g. foo, Baz
| Symbol String | Haskell symbol, e.g. >>, :%
| Int Integer | Integer literal
| Rat Rational | Floating point literal
| EOF | |
| Instances | |
|
|
|
|
|
Haskell lexer: returns the lexed string, rather than the lexeme
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |