| Copyright | (c) The University of Glasgow 2002 |
|---|---|
| License | BSD-style (see the file libraries/base/LICENSE) |
| Maintainer | libraries@haskell.org |
| Stability | provisional |
| Portability | non-portable (uses Text.ParserCombinators.ReadP) |
| Safe Haskell | Trustworthy |
| Language | Haskell2010 |
Text.Read.Lex
Description
The cut-down Haskell lexer, used by Text.Read
Constructors
| CharChar | Character literal |
| StringString | String literal, with escapes interpreted |
| PuncString | Punctuation or reserved symbol, e.g. |
| IdentString | Haskell identifier, e.g. |
| SymbolString | Haskell symbol, e.g. |
| NumberNumber | Since: 4.6.0.0 |
| EOF |
numberToRational ::Number ->RationalSource#
Since: 4.6.0.0
Produced byHaddock version 2.20.0