Add a debug print
authorsimonpj@microsoft.com <unknown>
Fri, 24 Sep 2010 15:56:14 +0000 (15:56 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 24 Sep 2010 15:56:14 +0000 (15:56 +0000)
compiler/hsSyn/HsBinds.lhs

index 15fd419..7b4c17c 100644 (file)
@@ -295,6 +295,7 @@ ppr_monobind (FunBind { fun_id = fun, fun_infix = inf,
   = pprTicks empty (case tick of 
                        Nothing -> empty
                        Just t  -> text "-- tick id = " <> ppr t)
   = pprTicks empty (case tick of 
                        Nothing -> empty
                        Just t  -> text "-- tick id = " <> ppr t)
+    $$  ifPprDebug (pprBndr LetBind (unLoc fun))
     $$  pprFunBind (unLoc fun) inf matches
     $$  ifPprDebug (ppr wrap)
 
     $$  pprFunBind (unLoc fun) inf matches
     $$  ifPprDebug (ppr wrap)