[GHC] #11529: Show instance of Char should print literals for non-ascii printable charcters

GHC ghc-devs at haskell.org
Thu Feb 4 04:45:22 UTC 2016


#11529: Show instance of Char should print literals for non-ascii printable
charcters
-------------------------------------+-------------------------------------
        Reporter:  nushio            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 Oh, silly me, `print` in `tcUserStmt` of course uses that interactive
 printer setting I mentioned in comment:4.

 So my suggestion is to change the default interactive printer to display
 unicode characters nicely.

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


More information about the ghc-tickets mailing list