From: simonpj@microsoft.com Date: Fri, 11 Aug 2006 13:33:02 +0000 (+0000) Subject: Add type signature X-Git-Tag: Before_FC_branch_merge~218 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=0d7cc019c65244968f8bc9cbeb5501a3bb832776 Add type signature --- 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