2 % (c) AQUA Project, Glasgow University, 1998
5 The Dynamic type is used in the Exception type, so we have to have
6 Dynamic visible here. The rest of the operations on Dynamics are
7 available in exts/Dynamic.lhs.
10 {-# OPTIONS -fcompiling-prelude -fno-implicit-prelude #-}
13 module PrelDynamic where
18 data Dynamic = Dynamic TypeRep Obj
21 -- dummy type to hold the dynamically typed value.
28 -- type constructors are
29 data TyCon = TyCon Int String
31 instance Eq TyCon where
32 (TyCon t1 _) == (TyCon t2 _) = t1 == t2