Laws for Show and Read?

Ben Franksen ben.franksen at
Sun Jun 16 15:32:27 UTC 2019

Am 07.06.19 um 05:51 schrieb Carter Schonwald:
> @Sven Panne <svenpanne at> you are correct, and its definitely true
> that
> 1) we dont have informative literals for +/- infity OR the bits in the nan.
> and those are truely informative in debugging, as IEEE float and show/read
> intend!

FWIW, my take is that the prefix (-) should be eliminated from Haskell
as an operator (we have negate method for that). Instead, prefix + and -
(no space allow in between) should be part of the syntax of numeric
literals. This would solve a lot of problems, including the one mentioned.

More information about the Libraries mailing list