Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
93e2d5bd
Commit
93e2d5bd
authored
Jun 21, 2005
by
simonmar
Browse files
[project @ 2005-06-21 10:30:41 by simonmar]
we should be using PprTyThingInContext instead of PprTyThing here
parent
daac527a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/ghci/InteractiveUI.hs
View file @
93e2d5bd
...
...
@@ -547,7 +547,7 @@ filterOutChildren names = filter (not . parent_is_there) names
|
otherwise
=
False
pprInfo
exts
(
thing
,
fixity
,
insts
)
=
pprTyThingLoc
exts
thing
=
pprTyThing
InContext
Loc
exts
thing
$$
show_fixity
fixity
$$
vcat
(
map
GHC
.
pprInstance
insts
)
where
...
...
@@ -890,7 +890,7 @@ browseModule m exports_only = do
dflags
<-
getDynFlags
let
exts
=
dopt
Opt_GlasgowExts
dflags
io
(
putStrLn
(
showSDocForUser
unqual
(
vcat
(
map
(
pprTyThing
exts
)
(
catMaybes
things
))
vcat
(
map
(
pprTyThing
InContext
exts
)
(
catMaybes
things
))
)))
-- ToDo: modInfoInstances currently throws an exception for
-- package modules. When it works, we can do this:
...
...
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