Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
0d7cc019
Commit
0d7cc019
authored
Aug 11, 2006
by
simonpj@microsoft.com
Browse files
Add type signature
parent
26637fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/hsSyn/HsBinds.lhs
View file @
0d7cc019
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment