From 3683967ba8a4d13226eefed9f137e3b1b413f1bd Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 25 Feb 2004 20:10:18 +0000 Subject: [PATCH] [project @ 2004-02-25 20:10:18 by ralf] Thanks to Sven Panne. The module should be back to Haskell 98 or at least should not break hugs anymore. --- Data/Typeable.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Data/Typeable.hs b/Data/Typeable.hs index b0b6929..d58e1fa 100644 --- a/Data/Typeable.hs +++ b/Data/Typeable.hs @@ -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 -- 1.7.10.4