constant |
::= |
integer-literal |
|
| |
float-literal |
|
| |
char-literal |
|
| |
string-literal |
|
| |
cconstr |
|
| |
`tag-name |
The syntactic class of constants comprises literals from the four
base types (integers, floating-point numbers, characters, character
strings), and constant constructors from both normal and polymorphic
variants.