[project @ 2004-02-25 20:10:18 by ralf]
authorralf <unknown>
Wed, 25 Feb 2004 20:10:18 +0000 (20:10 +0000)
committerralf <unknown>
Wed, 25 Feb 2004 20:10:18 +0000 (20:10 +0000)
Thanks to Sven Panne.
The module should be back to Haskell 98
or at least should not break hugs anymore.

Data/Typeable.hs

index b0b6929..d58e1fa 100644 (file)
@@ -480,12 +480,12 @@ appKeys k ks = foldl appKey k ks
 
 
 -- | Variant for unary type constructors
-class Typeable (t ()) => Typeable1 t where
+class Typeable1 t where
   typeOf1 :: t a -> TyCon
 
 
 -- | Variant for binary type constructors
-class Typeable (t () ()) => Typeable2 t where
+class Typeable2 t where
   typeOf2 :: t a b -> TyCon