X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FhsSyn%2FHsBinds.lhs;h=78a22343bb9fe87b67750e1f21d3018a04c91bb1;hb=0d7cc019c65244968f8bc9cbeb5501a3bb832776;hp=b5c21792af2fd82e925fa3f356857cf3fcd692ae;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/hsSyn/HsBinds.lhs b/compiler/hsSyn/HsBinds.lhs index b5c2179..78a2234 100644 --- a/compiler/hsSyn/HsBinds.lhs +++ b/compiler/hsSyn/HsBinds.lhs @@ -156,6 +156,8 @@ instance OutputableBndr id => Outputable (HsValBinds id) where -- 'where' include a list of HsBindGroups and we don't want -- several groups of bindings each with braces around. -- Sort by location before printing +pprValBindsForUser :: (OutputableBndr id1, OutputableBndr id2) + => LHsBinds id1 -> [LSig id2] -> SDoc pprValBindsForUser binds sigs = vcat (map snd (sort_by_loc decls)) where