X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FPprTyThing.hs;h=51144ecda034c7b2c66e3f216924ac8eecef5ff2;hb=3c22606bf3114747deeae0a8a1d5832ee834d9d1;hp=ea974957c8be45464149658291bbb0a3ed343707;hpb=2b49cf43578194443e0481b4680c3542c3d31bff;p=ghc-hetmet.git diff --git a/compiler/main/PprTyThing.hs b/compiler/main/PprTyThing.hs index ea97495..51144ec 100644 --- a/compiler/main/PprTyThing.hs +++ b/compiler/main/PprTyThing.hs @@ -158,7 +158,7 @@ pprDataConDecl exts gadt_style show_label dataCon -- printing out the dataCon as a type signature, in GADT style pp_tau = foldr add pp_res_ty tys_w_strs - pp_res_ty = ppr_bndr tyCon <+> hsep (map GHC.pprParendType res_tys) + pp_res_ty = GHC.pprTypeApp (ppr_bndr tyCon) res_tys add (str,ty) pp_ty = pprBangTy str ty <+> arrow <+> pp_ty pprParendBangTy (strict,ty)