[GHC] #9994: Provide option to show current module in ghci prompt without listing imported modules.

GHC ghc-devs at haskell.org
Fri Jan 16 00:47:06 UTC 2015


#9994: Provide option to show current module in ghci prompt without listing
imported modules.
-------------------------------------+-------------------------------------
              Reporter:  shachaf     |             Owner:
                  Type:  feature     |            Status:  new
  request                            |         Milestone:
              Priority:  normal      |           Version:  7.8.4
             Component:  GHCi        |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 GHCi allows for `%s` in the prompt, which is replaced by the currently
 loaded module followed by all imported modules. However, my `.ghci`
 imports about a hundred modules, making the prompt way too long when I use
 `%s`. It would be useful to have an option for showing just the current
 module, and not all the imported modules.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9994>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list