Show '#' on unboxed literals
Currently, unboxed literals are shown in the same way as boxed literals (without #):
Prelude> :set -XMagicHash
Prelude> :m GHC.Prim
Prelude GHC.Prim> data T = MkT Int# deriving Show
Prelude GHC.Prim> MkT 3#
MkT 3
It would be nice if this would show MkT 3#
instead. I have a patch.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.4 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |