2 {-# OPTIONS_GHC -XNoImplicitPrelude #-}
4 module GHC.Types (Char(..), Int(..), Float(..), Double(..)) where
7 -- We need Inl etc behind the scenes for the type definitions
12 data [] a = [] | a : [a]
17 -- ^A fixed-precision integer type with at least the range @[-2^29 .. 2^29-1]@.
18 -- The exact range for a given implementation can be determined by using
19 -- 'Prelude.minBound' and 'Prelude.maxBound' from the 'Prelude.Bounded' class.
21 -- | Single-precision floating point numbers.
22 -- It is desirable that this type be at least equal in range and precision
23 -- to the IEEE single-precision type.
24 data Float = F# Float#
26 -- | Double-precision floating point numbers.
27 -- It is desirable that this type be at least equal in range and precision
28 -- to the IEEE double-precision type.
29 data Double = D# Double#