X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Futils%2FFastString.lhs;h=c6dac8ff428d083c2a38a73ec28bd0dd30862993;hp=a357f9853fb17e6ec320a0fa046038b21389e880;hb=edc0bafd3fcd01b85a2e8894e5dfe149eb0e0857;hpb=f10947d79cdfac8f8b065ef51a10d9c9cf3c19bc diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs index a357f98..c6dac8f 100644 --- a/compiler/utils/FastString.lhs +++ b/compiler/utils/FastString.lhs @@ -2,6 +2,7 @@ % (c) The University of Glasgow, 1997-2006 % \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS -fno-warn-unused-imports #-} -- XXX GHC 6.9 seems to be confused by unpackCString# being used only in -- a RULE @@ -105,11 +106,7 @@ import Data.IORef ( IORef, newIORef, readIORef, writeIORef ) import Data.Maybe ( isJust ) import Data.Char ( ord ) -#if __GLASGOW_HASKELL__ >= 611 import GHC.IO ( IO(..) ) -#else -import GHC.IOBase ( IO(..) ) -#endif import GHC.Ptr ( Ptr(..) ) #if defined(__GLASGOW_HASKELL__)