extra dependencies for the new build system
authorSimon Marlow <marlowsd@gmail.com>
Wed, 17 Dec 2008 10:46:55 +0000 (10:46 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 17 Dec 2008 10:46:55 +0000 (10:46 +0000)
GHC/Base.lhs

index 9951b5a..06c7046 100644 (file)
@@ -103,6 +103,12 @@ import GHC.Ordering
 import GHC.Prim
 import {-# SOURCE #-} GHC.Err
 
+-- These two are not strictly speaking required by this module, but they are
+-- implicit dependencies whenever () or tuples are mentioned, so adding them
+-- as imports here helps to get the dependencies right in the new build system.
+import GHC.Tuple ()
+import GHC.Unit ()
+
 infixr 9  .
 infixr 5  ++
 infixl 1  >>, >>=