From: sof Date: Thu, 5 Jun 1997 09:27:30 +0000 (+0000) Subject: [project @ 1997-06-05 09:27:30 by sof] X-Git-Tag: Approximately_1000_patches_recorded~426 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3e537089094bf16e2c3ea5e1035bfdd3297085d2;p=ghc-hetmet.git [project @ 1997-06-05 09:27:30 by sof] Do not use loop breaker modules with 2.0x --- diff --git a/ghc/compiler/types/PprType.lhs b/ghc/compiler/types/PprType.lhs index 32ed141..6a2f827 100644 --- a/ghc/compiler/types/PprType.lhs +++ b/ghc/compiler/types/PprType.lhs @@ -25,8 +25,12 @@ module PprType( ) where IMP_Ubiq() +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(IdLoop) ---IMPORT_DELOOPER(TyLoop) -- for paranoia checking +#else +import {-# SOURCE #-} Id +#endif + -- friends: -- (PprType can see all the representations it's trying to print)