X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Futils%2FOutputable.lhs;h=e178e99f0ddd7237a54a6c5854eb0f16270e6423;hb=14c80817aace39608bada6c8d87cf29435d579dd;hp=96cf492105749d238dcbc926e7390857f115f545;hpb=3a7e2b3ad24b08dd68c96421d1ef94baa9b00c92;p=ghc-hetmet.git diff --git a/compiler/utils/Outputable.lhs b/compiler/utils/Outputable.lhs index 96cf492..e178e99 100644 --- a/compiler/utils/Outputable.lhs +++ b/compiler/utils/Outputable.lhs @@ -82,12 +82,12 @@ import System.IO ( Handle, stderr, stdout, hFlush ) import System.FilePath -#if __GLASGOW_HASKELL__ >= 700 -import GHC.Show ( showMultiLineString ) +#if __GLASGOW_HASKELL__ >= 701 +import GHC.Show ( showMultiLineString ) #else showMultiLineString :: String -> [String] -- Crude version -showMultiLineString s = [s] +showMultiLineString s = [ showList s "" ] #endif \end{code}