[GHC] #11159: '-interactive-print myPrint' forgotten after :load or :reload

GHC ghc-devs at haskell.org
Wed Dec 23 16:01:55 UTC 2015


#11159: '-interactive-print myPrint' forgotten after :load or :reload
-------------------------------------+-------------------------------------
        Reporter:  hukarere          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #5461             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bravit):

 Hi thomie,

 If interactive printing function is defined in external package then it is
 kept after reloading (thanks to D867, now in HEAD). If it is defined
 locally then it is no more effective after reloading, it's a new function
 in some way. I consider this behaviour as reasonable. Don't you agree?

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


More information about the ghc-tickets mailing list