From 0d7cc019c65244968f8bc9cbeb5501a3bb832776 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 11 Aug 2006 13:33:02 +0000 Subject: [PATCH] Add type signature --- compiler/hsSyn/HsBinds.lhs | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.10.4