Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : new-typeable
http://hackage.haskell.org/trac/ghc/changeset/4457a7242fa7738c507bb943d4883164aec14d67 >--------------------------------------------------------------- commit 4457a7242fa7738c507bb943d4883164aec14d67 Author: Jose Pedro Magalhaes <[email protected]> Date: Wed Oct 3 13:54:50 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 d21804c..1f198ef 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
