X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcTyFuns.lhs;h=82e397f554cd23a23472bda17885983b9277cba8;hb=80ef1f06253f1a20a63816c295e180e47cd9a347;hp=706fe2fe2a2dd4cd12eea9267d329e208cdb7959;hpb=3787d9878e4d62829a555f01b2a4c5866f24f303;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcTyFuns.lhs b/compiler/typecheck/TcTyFuns.lhs index 706fe2f..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} @@ -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 )