X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Fghci%2FRtClosureInspect.hs;h=db8930a05efc3500a2b9aaab9be5292f2f8a296a;hb=80ef1f06253f1a20a63816c295e180e47cd9a347;hp=437ff940fe1827e7e8d0328ccd84639675b39711;hpb=2b670fe37bb884ca67c3da0b9a0ce796b613968b;p=ghc-hetmet.git diff --git a/compiler/ghci/RtClosureInspect.hs b/compiler/ghci/RtClosureInspect.hs index 437ff94..db8930a 100644 --- a/compiler/ghci/RtClosureInspect.hs +++ b/compiler/ghci/RtClosureInspect.hs @@ -50,8 +50,7 @@ import Linker import DataCon import Type import Var -import TcRnMonad ( TcM, initTc, ioToTcRn, - tryTcErrs, traceTc) +import TcRnMonad import TcType import TcMType import TcUnify @@ -538,7 +537,7 @@ traceTR :: SDoc -> TR () traceTR = liftTcM . traceTc trIO :: IO a -> TR a -trIO = liftTcM . ioToTcRn +trIO = liftTcM . liftIO liftTcM :: TcM a -> TR a liftTcM = id