[commit: ghc] wip/T10613: Do not print DmdType in Core output (b108342)

git at git.haskell.org git at git.haskell.org
Wed Mar 23 13:47:51 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T10613
Link       : http://ghc.haskell.org/trac/ghc/changeset/b10834204d78d22a3e3db7fb0131a3acadcae1cd/ghc

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

commit b10834204d78d22a3e3db7fb0131a3acadcae1cd
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Mar 23 13:38:34 2016 +0100

    Do not print DmdType in Core output
    
    too verbose, and usualy preceded by Str= anyways.


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

b10834204d78d22a3e3db7fb0131a3acadcae1cd
 compiler/basicTypes/Demand.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/compiler/basicTypes/Demand.hs b/compiler/basicTypes/Demand.hs
index 3ce9228..5359c2f 100644
--- a/compiler/basicTypes/Demand.hs
+++ b/compiler/basicTypes/Demand.hs
@@ -1239,8 +1239,7 @@ bothDmdType (DmdType fv1 ds1 r1) (fv2, t2)
 
 instance Outputable DmdType where
   ppr (DmdType fv ds res)
-    = hsep [text "DmdType",
-            hcat (map ppr ds) <> ppr res,
+    = hsep [hcat (map ppr ds) <> ppr res,
             if null fv_elts then empty
             else braces (fsep (map pp_elt fv_elts))]
     where



More information about the ghc-commits mailing list