projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f9bf2
)
in the GHCi prompt, print ModuleNames not Modules
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 23 Aug 2006 09:52:58 +0000
(09:52 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 23 Aug 2006 09:52:58 +0000
(09:52 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
8a20fb1
..
cac385b
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-485,8
+485,8
@@
mkPrompt toplevs exports prompt
f (x:xs) = char x <> f xs
f [] = empty
- perc_s = hsep (map (\m -> char '*' <> pprModule m) toplevs) <+>
- hsep (map pprModule exports)
+ perc_s = hsep (map (\m -> char '*' <> ppr (GHC.moduleName m)) toplevs) <+>
+ hsep (map (ppr . GHC.moduleName) exports)
#ifdef USE_READLINE