[project @ 1997-06-05 21:19:14 by sof]
[ghc-hetmet.git] / ghc / compiler / basicTypes / Name.lhs
index 20c1051..1285857 100644 (file)
@@ -55,7 +55,13 @@ module Name (
     ) where
 
 IMP_Ubiq()
-import TyLoop          --( GenId, Id(..), TyCon )                      -- Used inside Names
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
+IMPORT_DELOOPER(TyLoop)        ( GenId, Id(..), TyCon )                        -- Used inside Names
+#else
+import {-# SOURCE #-} Id    ( Id )
+import {-# SOURCE #-} TyCon ( TyCon )
+#endif
+
 import CStrings                ( identToC, modnameToC, cSEP )
 import CmdLineOpts     ( opt_OmitInterfacePragmas, opt_EnsureSplittableC )
 import BasicTypes      ( SYN_IE(Module), moduleString, pprModule )