projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
218419a
)
Wibble
author
Pepe Iborra
<mnislaih@gmail.com>
Wed, 29 Aug 2007 08:53:05 +0000
(08:53 +0000)
committer
Pepe Iborra
<mnislaih@gmail.com>
Wed, 29 Aug 2007 08:53:05 +0000
(08:53 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
4bc8c54
..
2bed700
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-601,7
+601,7
@@
afterRunStmt step_here run_result = do
where printTypeAndContentOfNames session names = do
let namesSorted = sortBy compareNames names
tythings <- catMaybes `liftM`
- io (mapM (GHC.lookupName session) names)
+ io (mapM (GHC.lookupName session) namesSorted)
docs_ty <- mapM showTyThing tythings
terms <- mapM (io . GHC.obtainTermB session 10 False)
[ id | (AnId id, Just _) <- zip tythings docs_ty]