Repository : ssh://darcs.haskell.org//srv/darcs/packages/array On branch : new-typeable
http://hackage.haskell.org/trac/ghc/changeset/242dd21e19b24afb39b501bb3bb5653eaa2f743c >--------------------------------------------------------------- commit 242dd21e19b24afb39b501bb3bb5653eaa2f743c Author: Jose Pedro Magalhaes <[email protected]> Date: Wed Oct 3 13:54:40 2012 +0100 Use the kind-polymorphic Typeable class >--------------------------------------------------------------- include/Typeable.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Typeable.h b/include/Typeable.h index 91fbcdd..1ca76d5 100644 --- a/include/Typeable.h +++ b/include/Typeable.h @@ -20,9 +20,9 @@ -- // generate the instances. #define INSTANCE_TYPEABLE0(tycon,tcname,str) deriving instance Typeable tycon -#define INSTANCE_TYPEABLE1(tycon,tcname,str) deriving instance Typeable1 tycon -#define INSTANCE_TYPEABLE2(tycon,tcname,str) deriving instance Typeable2 tycon -#define INSTANCE_TYPEABLE3(tycon,tcname,str) deriving instance Typeable3 tycon +#define INSTANCE_TYPEABLE1(tycon,tcname,str) deriving instance Typeable tycon +#define INSTANCE_TYPEABLE2(tycon,tcname,str) deriving instance Typeable tycon +#define INSTANCE_TYPEABLE3(tycon,tcname,str) deriving instance Typeable tycon #else /* !__GLASGOW_HASKELL__ */ _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
