summaryrefslogtreecommitdiff
path: root/ghc/lib/prelude/PrelCore13.hs
blob: 01bf9a7b821cb60c73e76bebd248d4c37526c9fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- proto Haskell 1.3 version
--
module PreludeCore (

	Eq(..), Ord(..), Num(..), Real(..), Integral(..),
	Fractional(..), Floating(..), RealFrac(..), RealFloat(..),
	Ix(..), Enum(..), Text(..), Binary(..),
	_CCallable(..), _CReturnable(..),

	-- NO: really builtin (0.20+): trace,

	Array{-abstract-},
	Assoc(..),  -- *should* have disappeared: ToDo: LATER
	_ByteArray, _MutableArray, _MutableByteArray,
	-- if you want the types *unabstractly*, import PreludeGlaST

	Bin{-abstract-},

	Complex(..),

	_PackedString{-abstract-}, _FILE,

	ReadS(..), ShowS(..),

	-- 1.3 I/O stuff from PreludeIO, some *renamed*
	IOError13(..), -- ToDo: rename
	Either(..),
	BufferMode(..),
	IOMode(..),
	SeekMode(..),
	Maybe(..),
	FilePath(..),
	Handle(..),
	HandlePosn(..),
	IO(..),
	_Handle,
	_MVar

    ) where

-- few *Ty(s) imports
import UTypes		( Bin ) -- no data constructors, please!
import TyArray		( Array(..), Assoc(..), _ByteArray )
import TyComplex	( Complex(..) )
--import Builtin	( trace )
import Cls	hiding	( String )
import Core
import PS
import PreludeGlaST	( _MutableByteArray, _MutableArray )
import IArray
import IBool
import IChar
import IComplex
import IDouble
import IFloat
import IInt
import IInteger
import IList
import IRatio
import ITup0
import ITup2
import ITup3
import ITup4
import ITup5
import List
import Prel
import Text

import PreludeIO -- renaming ( IOError13 to IOError ) -- can't rename PreludeCore types