[GHC] #1767: :show <setting> does not conform to documented specification

GHC trac at haskell.org
Thu Oct 11 10:20:42 EDT 2007


#1767: :show <setting> does not conform to documented specification
------------------------+---------------------------------------------------
    Reporter:  guest    |        Owner:         
        Type:  bug      |       Status:  new    
    Priority:  normal   |    Milestone:         
   Component:  GHCi     |      Version:  6.9    
    Severity:  normal   |   Resolution:         
    Keywords:           |   Difficulty:  Unknown
          Os:  Unknown  |     Testcase:         
Architecture:  Unknown  |  
------------------------+---------------------------------------------------
Changes (by guest):

 * cc: claus.reinke at talk21.com (added)

Comment:

 first, you might want to add yourself to the cc of all those tickets you
 create - not only will this earn you an extra copy of each change email
 .., but ghc hq actually uses the number of cc's to assign ticket
 priorities.

 second, the help for :show currently mainly refers to ghci's :set features
 (args, prog, prompt, editor, ..), and 6.9.20070917 gives me this:
 {{{
 Prelude> :show args
 []
 Prelude> :show prompt
 "%s> "
 Prelude> :show editor
 "c:/vim/vim70/gvim.exe"
 Prelude> :set args 1 "two"
 Prelude> :show args
 ["1","two"]
 }}}

 third, it would be nice if all option/flag settings were available.
 there's a patch pending for head that makes ':set' show dynamic flag
 settings, with special emphasis on the ghci-specific ones. it also adds
 ':show languages' (listing active language flags) and ':show packages'
 (listing active package flags, and currently loaded packages). that still
 leaves lots of options like -l -i, etc, but it's a small step in the right
 direction.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1767#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list