From: simonpj Date: Thu, 25 Jan 2001 17:41:33 +0000 (+0000) Subject: [project @ 2001-01-25 17:41:33 by simonpj] X-Git-Tag: Approximately_9120_patches~2820 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=85c5b32bf6e68f21d8a66abc94ef47ae0e853fae;p=ghc-hetmet.git [project @ 2001-01-25 17:41:33 by simonpj] Improve printing --- diff --git a/ghc/compiler/hsSyn/HsTypes.lhs b/ghc/compiler/hsSyn/HsTypes.lhs index 786cc50..354180d 100644 --- a/ghc/compiler/hsSyn/HsTypes.lhs +++ b/ghc/compiler/hsSyn/HsTypes.lhs @@ -238,8 +238,7 @@ ppr_mono_ty ctxt_prec (HsAppTy fun_ty arg_ty) (hsep [ppr_mono_ty pREC_FUN fun_ty, ppr_mono_ty pREC_CON arg_ty]) ppr_mono_ty ctxt_prec (HsPredTy pred) - = maybeParen (ctxt_prec >= pREC_FUN) $ - braces (ppr pred) + = braces (ppr pred) ppr_mono_ty ctxt_prec (HsUsageTy u ty) = maybeParen (ctxt_prec >= pREC_CON)