We don't actually need a Show instance for the PlatformConstants type
authorIan Lynagh <ian@well-typed.com>
Thu, 20 Sep 2012 10:34:38 +0000 (11:34 +0100)
committerIan Lynagh <ian@well-typed.com>
Thu, 20 Sep 2012 10:34:38 +0000 (11:34 +0100)
and creating one is quite slow

includes/mkDerivedConstants.c

index c0bfb0c..6f21899 100644 (file)
@@ -759,7 +759,7 @@ main(int argc, char *argv[])
 
     switch (mode) {
     case Gen_Haskell_Type:
-        printf("  } deriving (Read, Show)\n");
+        printf("  } deriving Read\n");
         break;
     case Gen_Haskell_Value:
         printf("  }\n");