projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
95f6180
)
non-GHC: add Typeable instance for ForeignPtr
author
Ross Paterson
<ross@soi.city.ac.uk>
Sun, 31 Aug 2008 18:00:48 +0000
(18:00 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Sun, 31 Aug 2008 18:00:48 +0000
(18:00 +0000)
Data/Typeable.hs
patch
|
blob
|
history
diff --git
a/Data/Typeable.hs
b/Data/Typeable.hs
index
ee9e89a
..
6047823
100644
(file)
--- a/
Data/Typeable.hs
+++ b/
Data/Typeable.hs
@@
-536,6
+536,9
@@
instance Typeable7 (,,,,,,) where
INSTANCE_TYPEABLE1(Ptr,ptrTc,"Ptr")
INSTANCE_TYPEABLE1(FunPtr,funPtrTc,"FunPtr")
+#ifndef __GLASGOW_HASKELL__
+INSTANCE_TYPEABLE1(ForeignPtr,foreignPtrTc,"ForeignPtr")
+#endif
INSTANCE_TYPEABLE1(StablePtr,stablePtrTc,"StablePtr")
INSTANCE_TYPEABLE1(IORef,iORefTc,"IORef")