X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Futils%2FPretty.lhs;h=ec8f1e75ad108e305fb25167047768bb537a904e;hb=9d7da331989abcd1844e9d03b8d1e4163796fa85;hp=916755e90295243466c3af7a09045bab3f7036c0;hpb=ac88f113abdec1edbffb6d2f97323e81f82908e7;p=ghc-hetmet.git diff --git a/ghc/compiler/utils/Pretty.lhs b/ghc/compiler/utils/Pretty.lhs index 916755e..ec8f1e7 100644 --- a/ghc/compiler/utils/Pretty.lhs +++ b/ghc/compiler/utils/Pretty.lhs @@ -179,26 +179,16 @@ module Pretty ( import BufWrite import FastString -import PrimPacked ( strLength ) import GLAEXTS import Numeric (fromRat) import IO -#if __GLASGOW_HASKELL__ < 503 -import IOExts ( hPutBufFull ) -#else import System.IO ( hPutBuf ) -#endif -#if __GLASGOW_HASKELL__ < 503 -import PrelBase ( unpackCString# ) -#else import GHC.Base ( unpackCString# ) -#endif - -import PrimPacked ( Ptr(..) ) +import GHC.Ptr ( Ptr(..) ) -- Don't import Util( assertPanic ) because it makes a loop in the module structure