[project @ 1996-01-18 16:33:17 by partain]
[ghc-hetmet.git] / ghc / lib / prelude / PrelCore13.hs
1 -- proto Haskell 1.3 version
2 --
3 module PreludeCore (
4
5         Eq(..), Ord(..), Num(..), Real(..), Integral(..),
6         Fractional(..), Floating(..), RealFrac(..), RealFloat(..),
7         Ix(..), Enum(..), Text(..), Binary(..),
8         _CCallable(..), _CReturnable(..),
9
10         -- NO: really builtin (0.20+): trace,
11
12         Array{-abstract-},
13         Assoc(..),  -- *should* have disappeared: ToDo: LATER
14         _ByteArray, _MutableArray, _MutableByteArray,
15         -- if you want the types *unabstractly*, import PreludeGlaST
16
17         Bin{-abstract-},
18
19         Complex(..),
20
21         _PackedString{-abstract-}, _FILE,
22
23         ReadS(..), ShowS(..),
24
25         -- 1.3 I/O stuff from PreludeIO, some *renamed*
26         IOError13(..), -- ToDo: rename
27         Either(..),
28         BufferMode(..),
29         IOMode(..),
30         SeekMode(..),
31         Maybe(..),
32         FilePath(..),
33         Handle(..),
34         HandlePosn(..),
35         IO(..),
36         _Handle,
37         _MVar,
38
39         -- for unfoldings ...
40         _fromRational, __i0, __i1, __i2, __im1, __i8, __i10, __i16, __rhalf,
41         __integer0, __integer1, __integer2, __integerm1
42     ) where
43
44 -- few *Ty(s) imports
45 import UTypes           ( Bin ) -- no data constructors, please!
46 import TyArray          ( Array(..), Assoc(..), _ByteArray )
47 import TyComplex        ( Complex(..) )
48 --import Builtin        ( trace )
49 import Cls      hiding  ( String )
50 import Core
51 import PS
52 import PreludeGlaST     ( _MutableByteArray, _MutableArray )
53 import IArray
54 import IBool
55 import IChar
56 import IComplex
57 import IDouble
58 import IFloat
59 import IInt
60 import IInteger
61 import IList
62 import IRatio
63 import ITup0
64 import ITup2
65 import ITup3
66 import ITup4
67 import ITup5
68 import List
69 import Prel
70 import Text
71
72 import PreludeIO -- renaming ( IOError13 to IOError ) -- can't rename PreludeCore types