summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'ghc')
-rw-r--r--ghc/compiler/types/PprType.lhs3
-rw-r--r--ghc/compiler/types/TyCon.lhs2
2 files changed, 2 insertions, 3 deletions
diff --git a/ghc/compiler/types/PprType.lhs b/ghc/compiler/types/PprType.lhs
index fa96fdf4de..4a04bffb55 100644
--- a/ghc/compiler/types/PprType.lhs
+++ b/ghc/compiler/types/PprType.lhs
@@ -27,8 +27,7 @@ import TcType ( ThetaType, PredType, TyThing(..),
import Var ( TyVar, tyVarKind )
import Class ( Class )
import TyCon ( TyCon, isPrimTyCon, isTupleTyCon, tupleTyConBoxity,
- maybeTyConSingleCon, isEnumerationTyCon,
- tyConArity, tyConName
+ maybeTyConSingleCon, isEnumerationTyCon, tyConArity
)
-- others:
diff --git a/ghc/compiler/types/TyCon.lhs b/ghc/compiler/types/TyCon.lhs
index 349d096ca7..ca41d14be4 100644
--- a/ghc/compiler/types/TyCon.lhs
+++ b/ghc/compiler/types/TyCon.lhs
@@ -67,7 +67,7 @@ import BasicTypes ( Arity, RecFlag(..), Boxity(..),
import Name ( Name, nameUnique, NamedThing(getName) )
import PrelNames ( Unique, Uniquable(..), anyBoxConKey )
import PrimRep ( PrimRep(..), isFollowableRep )
-import Maybes ( expectJust, orElse )
+import Maybes ( orElse )
import Outputable
import FastString
\end{code}