projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generic functions that take integral arguments should work the same way as their...
[ghc-base.git]
/
Data
/
Typeable.hs-boot
diff --git
a/Data/Typeable.hs-boot
b/Data/Typeable.hs-boot
index
4088389
..
45be319
100644
(file)
--- a/
Data/Typeable.hs-boot
+++ b/
Data/Typeable.hs-boot
@@
-3,6
+3,7
@@
module Data.Typeable where
module Data.Typeable where
+import Data.Maybe
import GHC.Base
import GHC.Show
import GHC.Base
import GHC.Show
@@
-13,6
+14,8
@@
mkTyCon :: String -> TyCon
mkTyConApp :: TyCon -> [TypeRep] -> TypeRep
showsTypeRep :: TypeRep -> ShowS
mkTyConApp :: TyCon -> [TypeRep] -> TypeRep
showsTypeRep :: TypeRep -> ShowS
+cast :: (Typeable a, Typeable b) => a -> Maybe b
+
class Typeable a where
typeOf :: a -> TypeRep
class Typeable a where
typeOf :: a -> TypeRep