use the "debug" version of Outputable for ToString in Coq code
authorAdam Megacz <megacz@cs.berkeley.edu>
Mon, 9 May 2011 06:28:57 +0000 (23:28 -0700)
committerAdam Megacz <megacz@cs.berkeley.edu>
Mon, 9 May 2011 06:28:57 +0000 (23:28 -0700)
src/Extraction-prefix.hs

index 195e6f7..7e68ba0 100644 (file)
@@ -113,7 +113,7 @@ coreKindToKind k =
                  else                                         Prelude.error ((Prelude.++) "coreKindToKind got an unknown kind: "
                                                                                (Outputable.showSDoc (Outputable.ppr k)))
 outputableToString :: Outputable.Outputable a => a -> Prelude.String
                  else                                         Prelude.error ((Prelude.++) "coreKindToKind got an unknown kind: "
                                                                                (Outputable.showSDoc (Outputable.ppr k)))
 outputableToString :: Outputable.Outputable a => a -> Prelude.String
-outputableToString = (\x -> Outputable.showSDoc (Outputable.ppr x))
+outputableToString = (\x -> Outputable.showSDocDebug (Outputable.ppr x))
 
 coreViewDeep :: Type.Type -> Type.Type
 coreViewDeep t =
 
 coreViewDeep :: Type.Type -> Type.Type
 coreViewDeep t =