[commit: containers] new-typeable: Use the kind-polymorphic Typeable class (4457a72)

José Pedro Magalhães jpm at cs.uu.nl
Fri Nov 23 12:04:46 CET 2012


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 <jpm at cs.ox.ac.uk>
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__ */
 





More information about the Cvs-libraries mailing list