X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcTyFuns.lhs;h=82e397f554cd23a23472bda17885983b9277cba8;hp=706fe2fe2a2dd4cd12eea9267d329e208cdb7959;hb=583e2422f9f70c8ff69f948a3be788f5d412c862;hpb=ecc046ac9ca93ae87ff05f7137801d994ad97a05 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 )