X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Futils%2FPretty.lhs;h=7713d03cfcb88c900c10406c10584659f50234f4;hp=5219484569c7b817e16f270b7d46764cd4977f88;hb=9412e62942ebab0599c7fb0b358a9d4869647b67;hpb=cee4bfd3a0c0852946966333bbff47654e9e35b2 diff --git a/compiler/utils/Pretty.lhs b/compiler/utils/Pretty.lhs index 5219484..7713d03 100644 --- a/compiler/utils/Pretty.lhs +++ b/compiler/utils/Pretty.lhs @@ -152,6 +152,10 @@ Relative to John's original paper, there are the following new features: \begin{code} +{-# OPTIONS -fno-warn-unused-imports #-} +-- XXX GHC 6.9 seems to be confused by unpackCString# being used only in +-- a RULE + module Pretty ( Doc, -- Abstract Mode(..), TextDetails(..), @@ -994,7 +998,7 @@ spaces n | n <=# _ILIT(0) = "" \begin{code} pprCols :: Int -pprCols = 120 -- could make configurable +pprCols = 100 -- could make configurable -- NB. printDoc prints FastStrings in UTF-8: hPutFS below does no decoding. -- This is what we usually want, because the IO library has no encoding