[project @ 1997-06-05 09:40:45 by sof]
authorsof <unknown>
Thu, 5 Jun 1997 09:40:45 +0000 (09:40 +0000)
committersof <unknown>
Thu, 5 Jun 1997 09:40:45 +0000 (09:40 +0000)
Do not use loop breaker modules with 2.0x

ghc/compiler/typecheck/TcMonad.lhs

index 0441941..d1b7a27 100644 (file)
@@ -45,7 +45,12 @@ module TcMonad(
 
 IMP_Ubiq(){-uitous-}
 
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
 IMPORT_DELOOPER(TcMLoop) ( TcEnv, initEnv, TcMaybe )  -- We need the type TcEnv and an initial Env
+#else
+import {-# SOURCE #-} TcEnv  ( TcEnv, initEnv )
+import {-# SOURCE #-} TcType ( TcMaybe )
+#endif
 
 import Type            ( SYN_IE(Type), GenType )
 import TyVar           ( SYN_IE(TyVar), GenTyVar )