2 {-# OPTIONS_GHC -XNoImplicitPrelude #-}
4 module Data.Typeable where
8 import {-# SOURCE #-} GHC.IOBase
14 mkTyCon :: String -> TyCon
15 mkTyConApp :: TyCon -> [TypeRep] -> TypeRep
16 showsTypeRep :: TypeRep -> ShowS
18 cast :: (Typeable a, Typeable b) => a -> Maybe b
20 class Typeable a where
21 typeOf :: a -> TypeRep
23 instance Typeable Exception