[GHC] #5850: Greater customization of GHCi prompt

GHC ghc-devs at haskell.org
Sun Dec 7 06:51:38 UTC 2014


#5850: Greater customization of GHCi prompt
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  jlengyel
  JamesFisher                        |           Status:  patch
                  Type:  feature     |        Milestone:  7.10.1
  request                            |          Version:  7.4.1
              Priority:  normal      |         Keywords:  newcomer
             Component:  GHCi        |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D559   |
-------------------------------------+-------------------------------------
Changes (by jlengyel):

 * status:  new => patch
 * differential:   => Phab:D559


Comment:

 With this change, the :set prompt command will take an expression of type
 [String] -> Int -> IO String, and apply it with the current list of
 imports and current line number to generate the GHCi prompt.

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


More information about the ghc-tickets mailing list