
#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: | -------------------------------------+------------------------------------- Comment (by nushio): I believe there is an ambiguity in the specification {{{ showLitChar :: Char -> ShowS "Convert a character to a string using only printable characters }}} whether "printable" means ASCII printable or Unicode printable. How shall we solve the ambiguity? By the way, I use `map fromEnum` to investigate the content of the string when lack of appropriate font or when I am debugging a pretty printer. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11529#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler