Wed Nov 7 02:26:48 PST 2007 Simon Marlow <[EMAIL PROTECTED]>
* #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
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc