import Name ( NamedThing )
import Id ( Id )
import Outputable
-import PprType ( pprGenType, pprParendGenType, GenType, GenTyVar )
+import PprType ( pprType, pprParendType )
+import Type ( GenType )
+import TyVar ( GenTyVar )
import SrcLoc ( SrcLoc )
\end{code}
= brackets (fsep (punctuate comma (map ppr_expr exprs)))
ppr_expr (ExplicitListOut ty exprs)
= hcat [ brackets (fsep (punctuate comma (map ppr_expr exprs))),
- ifNotPprForUser ((<>) space (parens (pprGenType ty))) ]
+ ifNotPprForUser ((<>) space (parens (pprType ty))) ]
ppr_expr (ExplicitTuple exprs)
= parens (sep (punctuate comma (map ppr_expr exprs)))
ppr_expr (HsCon con_id tys args)
- = ppr con_id <+> sep (map pprParendGenType tys ++
+ = ppr con_id <+> sep (map pprParendType tys ++
map pprParendExpr args)
ppr_expr (RecordCon con_id con rbinds)
4 (ppr_expr expr)
ppr_expr (TyApp expr [ty])
- = hang (ppr_expr expr) 4 (pprParendGenType ty)
+ = hang (ppr_expr expr) 4 (pprParendType ty)
ppr_expr (TyApp expr tys)
= hang (ppr_expr expr)