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

#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

#9994: Provide option to show current module in ghci prompt without listing imported modules. -------------------------------------+------------------------------------- Reporter: shachaf | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 7.8.4 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #5850 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => duplicate * related: => #5850 Comment: I think #5850, and the accompanied patch, will allow you to do what you want. Please reopen this ticket if it does not suit your needs. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9994#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC