[project @ 1998-08-14 11:10:37 by sof]
authorsof <unknown>
Fri, 14 Aug 1998 11:10:37 +0000 (11:10 +0000)
committersof <unknown>
Fri, 14 Aug 1998 11:10:37 +0000 (11:10 +0000)
abstract away the real home of trace, and re-export it from here

ghc/compiler/utils/Util.lhs

index 34d36ae..3319856 100644 (file)
@@ -47,6 +47,9 @@ module Util (
        IF_NOT_GHC(applyToSnd COMMA foldPair COMMA)
        unzipWith,
 
+       -- tracing (abstract away from lib home)
+       trace,
+
        -- error handling
        panic, panic#, assertPanic
 
@@ -56,6 +59,7 @@ module Util (
 
 import FastString      ( FastString )
 import List            ( zipWith4 )
+import GlaExts         ( trace )
 
 infixr 9 `thenCmp`
 \end{code}