X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcTyFuns.lhs;h=82e397f554cd23a23472bda17885983b9277cba8;hb=f59d6c9d6ead47a61681b1086b313c2fad225912;hp=ca3c4a813ddea233c5acb28736962202c821db58;hpb=b6d08641e2757898470a10dfa906084ade8ab835;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcTyFuns.lhs b/compiler/typecheck/TcTyFuns.lhs index ca3c4a8..82e397f 100644 --- a/compiler/typecheck/TcTyFuns.lhs +++ b/compiler/typecheck/TcTyFuns.lhs @@ -40,7 +40,7 @@ import Maybes -- standard import Data.List -import Control.Monad (liftM) +import Control.Monad \end{code} @@ -233,7 +233,7 @@ tcGenericNormaliseFamInst fun (ForAllTy tyvar ty1) } tcGenericNormaliseFamInst fun (NoteTy note ty1) = do { (coi,nty1) <- tcGenericNormaliseFamInst fun ty1 - ; return (mkNoteTyCoI note coi, NoteTy note nty1) + ; return (coi, NoteTy note nty1) } tcGenericNormaliseFamInst fun ty@(TyVarTy tv) | isTcTyVar tv @@ -663,7 +663,7 @@ The following rules exploits the reflexivity of equality: \begin{code} trivialRule :: IdemRewriteRule trivialRule insts - = liftM catMaybes $ mappM trivial insts + = liftM catMaybes $ mapM trivial insts where trivial inst | ASSERT( isEqInst inst )