X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypes%2FTypeRep.lhs;h=fafbaab1d27df759b5ad8d84504350ee0f9070fe;hp=8322e9d425e671fe13dd6e97c68bedac36cc2942;hb=d2ce0f52d42edf32bb9f13796e6ba6edba8bd516;hpb=ebff59fc35239fffad714f5414e83208ccd2a458 diff --git a/compiler/types/TypeRep.lhs b/compiler/types/TypeRep.lhs index 8322e9d..fafbaab 100644 --- a/compiler/types/TypeRep.lhs +++ b/compiler/types/TypeRep.lhs @@ -455,8 +455,8 @@ pprTheta theta = parens (sep (punctuate comma (map pprPred theta))) pprThetaArrow :: ThetaType -> SDoc pprThetaArrow [] = empty pprThetaArrow [pred] - | noParenPred pred = pprPred pred <+> ptext (sLit "=>") -pprThetaArrow preds = parens (sep (punctuate comma (map pprPred preds))) <+> ptext (sLit "=>") + | noParenPred pred = pprPred pred <+> darrow +pprThetaArrow preds = parens (sep (punctuate comma (map pprPred preds))) <+> darrow noParenPred :: PredType -> Bool -- A predicate that can appear without parens before a "=>"