[project @ 1997-06-05 21:20:46 by sof]
authorsof <unknown>
Thu, 5 Jun 1997 21:21:26 +0000 (21:21 +0000)
committersof <unknown>
Thu, 5 Jun 1997 21:21:26 +0000 (21:21 +0000)
imports updated

ghc/compiler/basicTypes/IdInfo.lhs
ghc/compiler/basicTypes/IdUtils.lhs

index e33873b..0a9ef0e 100644 (file)
@@ -51,10 +51,17 @@ module IdInfo (
 IMP_Ubiq()
 IMPORT_1_3(Char(toLower))
 
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
 IMPORT_DELOOPER(IdLoop)        -- IdInfo is a dependency-loop ranch, and
                        -- we break those loops by using IdLoop and
                        -- *not* importing much of anything else,
                        -- except from the very general "utils".
+#else
+import {-# SOURCE #-} SpecEnv
+import {-# SOURCE #-} Id
+import {-# SOURCE #-} CoreUnfold
+import {-# SOURCE #-} StdIdInfo
+#endif
 
 import Type            ( eqSimpleTy, splitFunTyExpandingDicts )
 import BasicTypes      ( NewOrData )
index 3eb9021..e607e38 100644 (file)
@@ -9,8 +9,13 @@
 module IdUtils ( primOpName ) where
 
 IMP_Ubiq()
+
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
 IMPORT_DELOOPER(PrelLoop)              -- here for paranoia checking
 IMPORT_DELOOPER(IdLoop) (SpecEnv)
+#else
+import {-# SOURCE #-} SpecEnv ( SpecEnv )
+#endif
 
 import CoreSyn
 import CoreUnfold      ( UnfoldingGuidance(..), Unfolding, mkUnfolding )