summaryrefslogtreecommitdiff
path: root/ghc/compiler/prelude/TysPrim.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/prelude/TysPrim.lhs')
-rw-r--r--ghc/compiler/prelude/TysPrim.lhs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/compiler/prelude/TysPrim.lhs b/ghc/compiler/prelude/TysPrim.lhs
index afc81b93b3..c16c6b87b5 100644
--- a/ghc/compiler/prelude/TysPrim.lhs
+++ b/ghc/compiler/prelude/TysPrim.lhs
@@ -20,14 +20,14 @@ import PrimRep ( PrimRep(..) ) -- getPrimRepInfo uses PrimRep repn
import TyCon ( mkPrimTyCon, mkDataTyCon,
ConsVisible(..), NewOrData(..) )
import TyVar ( GenTyVar(..), alphaTyVars )
-import Type ( applyTyCon, mkTyVarTy )
+import Type ( applyTyCon, mkTyVarTys )
import Usage ( usageOmega )
import Unique
\end{code}
\begin{code}
-alphaTys = map mkTyVarTy alphaTyVars
+alphaTys = mkTyVarTys alphaTyVars
(alphaTy:betaTy:gammaTy:deltaTy:_) = alphaTys
\end{code}