cdepillabout/pretty-simple

Numbers (prefixed with 0x) have a space put between 0 and x

expipiplus1 opened this issue · 4 comments

λ> pStringNoColor "0x0"
"0 x0"

This is another instance of #75, which is increasingly looking like a priority.

Is it a duplicate? That seems to be dealing with spaces around operators, but this is a valid Haskell numeric literal being mangled (albeit one which isn't generated by derived show instances).

It has the same root cause, and solution.