patch applied (ghc): #1617: Add :browse! and various other
additions to GHCi
Simon Marlow
simonmar at microsoft.com
Wed Nov 7 05:54:25 EST 2007
Wed Nov 7 02:26:48 PST 2007 Simon Marlow <simonmar at microsoft.com>
* #1617: Add :browse! and various other additions to GHCi
- :browse!
a variant of :browse that lists children separately,
not in context, and gives import qualifiers in comments
SimonM: I also added sorting by source location for interpreted
modules in :browse, and alphabetic sorting by name otherwise. For
:browse *M, the locally-defined names come before the external ones.
- :{ ..lines.. :} (multiline commands)
allow existing commands to be spread over multiple lines
to improve readability, both interactively and in .ghci
(includes a refactoring that unifies the previous three
command loops into one, runCommands, fed from cmdqueue,
file, or readline)
- :set
now shows GHCi-specific flag settings (printing/
debugger), as well as non-language dynamic flag
settings
:show languages
show active language flags
:show packages
show active package flags as well as implicitly
loaded packages
M ./compiler/basicTypes/RdrName.lhs -1 +7
M ./compiler/ghci/InteractiveUI.hs -69 +195
M ./compiler/main/DynFlags.hs +1
M ./compiler/main/GHC.hs +7
M ./docs/users_guide/flags.xml -1 +1
M ./docs/users_guide/ghci.xml -6 +75
More information about the Cvs-ghc
mailing list