Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/448ad24fd71b3aa399a80083515ab655b11756ba

>---------------------------------------------------------------

commit 448ad24fd71b3aa399a80083515ab655b11756ba
Author: Ian Lynagh <[email protected]>
Date:   Thu Sep 20 11:34:38 2012 +0100

    We don't actually need a Show instance for the PlatformConstants type
    
    and creating one is quite slow

>---------------------------------------------------------------

 includes/mkDerivedConstants.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c
index c0bfb0c..6f21899 100644
--- a/includes/mkDerivedConstants.c
+++ b/includes/mkDerivedConstants.c
@@ -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");



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to