Go to the first, previous, next, last section, table of contents.
There are the following obvious primitive types:
type Char#
type Int# -- see also Word# and Addr#, later
type Float#
type Double#
If you really want to know their exact equivalents in C, see
`ghc/includes/StgTypes.lh' in the GHC source tree.
Literals for these types may be written as follows:
1# an Int#
1.2# a Float#
1.34## a Double#
'a'# a Char#; for weird characters, use '\o<octal>'#
"a"# an Addr# (a `char *')
Go to the first, previous, next, last section, table of contents.