Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
cfb69428
Commit
cfb69428
authored
Sep 30, 2010
by
Ian Lynagh
Browse files
Don't show the loaded packages in ":show packages"; fixes
#4300
It's never worked properly, and the information is in ":show linker".
parent
5d0747c0
Changes
1
Show whitespace changes
Inline
Side-by-side
ghc/InteractiveUI.hs
View file @
cfb69428
...
...
@@ -1645,11 +1645,6 @@ showPackages = do
io
$
putStrLn
$
showSDoc
$
vcat
$
text
(
"active package flags:"
++
if
null
pkg_flags
then
" none"
else
""
)
:
map
showFlag
pkg_flags
pkg_ids
<-
fmap
(
preloadPackages
.
pkgState
)
getDynFlags
io
$
putStrLn
$
showSDoc
$
vcat
$
text
"packages currently loaded:"
:
map
(
nest
2
.
text
.
packageIdString
)
(
sortBy
(
compare
`
on
`
packageIdFS
)
pkg_ids
)
where
showFlag
(
ExposePackage
p
)
=
text
$
" -package "
++
p
showFlag
(
HidePackage
p
)
=
text
$
" -hide-package "
++
p
showFlag
(
IgnorePackage
p
)
=
text
$
" -ignore-package "
++
p
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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