
#10104: Show '#' on unboxed literals -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: feature request | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #8274 | Blocking: | Differential Revisions: Phab:D672 -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * differential: => Phab:D672 Comment: Also handle `Char#`, `Word#`, `Float#` and `Double#`. And don't show superfluous parenthesis around negative unboxed literals. For reference: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/syntax- extns.html#magic-hash -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10104#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler