X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FhsSyn%2FHsTypes.lhs;h=2536e8d07ca8f2f694c30880a22e64476aa7d21f;hb=a61b7e6edcf2fa8e1a882b6c786126560ec6090d;hp=c9637b41d71854f9b26e1daac794ae901c3b26dd;hpb=c4574ceba6116cdeb9e2b25bec5e73aa4fefa9f3;p=ghc-hetmet.git diff --git a/ghc/compiler/hsSyn/HsTypes.lhs b/ghc/compiler/hsSyn/HsTypes.lhs index c9637b4..2536e8d 100644 --- a/ghc/compiler/hsSyn/HsTypes.lhs +++ b/ghc/compiler/hsSyn/HsTypes.lhs @@ -186,6 +186,9 @@ ppr_mono_ty ctxt_prec (MonoTyApp fun_ty arg_ty) = maybeParen (ctxt_prec >= pREC_CON) (hsep [ppr_mono_ty pREC_FUN fun_ty, ppr_mono_ty pREC_CON arg_ty]) +ppr_mono_ty ctxt_prec (MonoIParamTy n ty) + = hsep [{- char '?' <> -} ppr n, text "::", ppr_mono_ty pREC_TOP ty] + ppr_mono_ty ctxt_prec (MonoDictTy clas tys) = ppr clas <+> hsep (map (ppr_mono_ty pREC_CON) tys)