summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/compiler/types/Class.lhs1
-rw-r--r--ghc/compiler/types/InstEnv.lhs2
-rw-r--r--ghc/compiler/utils/Outputable.lhs2
3 files changed, 2 insertions, 3 deletions
diff --git a/ghc/compiler/types/Class.lhs b/ghc/compiler/types/Class.lhs
index db5d597e04..3385adc2b3 100644
--- a/ghc/compiler/types/Class.lhs
+++ b/ghc/compiler/types/Class.lhs
@@ -23,7 +23,6 @@ import Name ( NamedThing(..), Name )
import BasicTypes ( Arity )
import Unique ( Unique, Uniquable(..) )
import Outputable
-import Util ( notNull )
\end{code}
%************************************************************************
diff --git a/ghc/compiler/types/InstEnv.lhs b/ghc/compiler/types/InstEnv.lhs
index 44f2db313d..c197c05bf5 100644
--- a/ghc/compiler/types/InstEnv.lhs
+++ b/ghc/compiler/types/InstEnv.lhs
@@ -27,7 +27,7 @@ import TcType ( Type, tcTyConAppTyCon,
import FunDeps ( checkClsFD )
import TyCon ( TyCon )
import Outputable
-import UniqFM ( UniqFM, lookupWithDefaultUFM, emptyUFM, eltsUFM, addToUFM_C )
+import UniqFM ( UniqFM, lookupWithDefaultUFM, emptyUFM, addToUFM_C )
import Id ( idType )
import CmdLineOpts
import Util ( notNull )
diff --git a/ghc/compiler/utils/Outputable.lhs b/ghc/compiler/utils/Outputable.lhs
index 6e98c2fbcb..339a3bccc3 100644
--- a/ghc/compiler/utils/Outputable.lhs
+++ b/ghc/compiler/utils/Outputable.lhs
@@ -62,7 +62,7 @@ import Panic
import DATA_WORD ( Word32 )
import IO ( Handle, stderr, stdout, hFlush )
-import Char ( chr, ord )
+import Char ( ord )
\end{code}