X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FbasicTypes%2FUniqSupply.lhs;h=87f3deed47ec9949da76996b774ce5547893570f;hb=59300a7161f44b3a2afe381a6ccd914043a32c4f;hp=774d2d2b20c11507f8d008888ca5e15b8c0933d7;hpb=9d93bcd09efd26fc15c34c5c55dc2862886ca407;p=ghc-hetmet.git diff --git a/compiler/basicTypes/UniqSupply.lhs b/compiler/basicTypes/UniqSupply.lhs index 774d2d2..87f3dee 100644 --- a/compiler/basicTypes/UniqSupply.lhs +++ b/compiler/basicTypes/UniqSupply.lhs @@ -30,13 +30,10 @@ import FastTypes import MonadUtils import Control.Monad -import Control.Monad.Fix -#if __GLASGOW_HASKELL__ >= 607 -import GHC.IOBase (unsafeDupableInterleaveIO) +#if __GLASGOW_HASKELL__ >= 611 +import GHC.IO (unsafeDupableInterleaveIO) #else -import System.IO.Unsafe ( unsafeInterleaveIO ) -unsafeDupableInterleaveIO :: IO a -> IO a -unsafeDupableInterleaveIO = unsafeInterleaveIO +import GHC.IOBase (unsafeDupableInterleaveIO) #endif \end{code}