Add NoImplicitPrelude to the extensions used when building with GHC
authorIan Lynagh <igloo@earth.li>
Wed, 14 Jan 2009 20:28:10 +0000 (20:28 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 14 Jan 2009 20:28:10 +0000 (20:28 +0000)
Data/STRef/Lazy.hs
System/Timeout.hs
base.cabal

index 3218310..288343e 100644 (file)
@@ -22,6 +22,7 @@ module Data.STRef.Lazy (
 
 import Control.Monad.ST.Lazy
 import qualified Data.STRef as ST
+import Prelude
 
 newSTRef    :: a -> ST s (ST.STRef s a)
 readSTRef   :: ST.STRef s a -> ST s a
index 431f709..f27a936 100644 (file)
@@ -27,6 +27,7 @@ import Control.Concurrent  (forkIO, threadDelay, myThreadId, killThread)
 import Control.Exception   (Exception, handleJust, throwTo, bracket)
 import Data.Typeable
 import Data.Unique         (Unique, newUnique)
+import GHC.Num
 
 -- An internal type that is thrown as a dynamic exception to
 -- interrupt the running IO computation when the timeout has
index 75581aa..35b574a 100644 (file)
@@ -62,7 +62,7 @@ Library {
                     ForeignFunctionInterface, UnliftedFFITypes,
                     DeriveDataTypeable, GeneralizedNewtypeDeriving,
                     FlexibleInstances, StandaloneDeriving,
-                    PatternGuards, EmptyDataDecls
+                    PatternGuards, EmptyDataDecls, NoImplicitPrelude
 
         if impl(ghc < 6.10) 
            -- PatternSignatures was deprecated in 6.10