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

GHC ghc-devs at haskell.org
Thu Dec 3 15:17:06 UTC 2015


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

 I would like to use a custom print function. I tried all possible ways for
 setting it: (1) running ghci -interactive-print myPrint; (2) adding ':set
 -interactive-print myPrint' to ~/.ghci; (3) typing ':set -interactive-
 print myPrint' interactively. It works, but only before :load or :reload.
 After that,it's forgotten (standard print used again) and I have to type
 ':set -interactive-print myPrint' again. Is there a way to make this
 setting persistent, i. e. survive after :load or :reload?

 Thanks.

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


More information about the ghc-tickets mailing list