Changing the `Binary` instance for `Double` and `Float`
Haskell Community [Unofficial]
March 3, 2026
LaurentRDC:
I think a breaking change to 1.0, introducing this change, is perfectly acceptable.
This. The old release is not going anywhere, users can pin it in their build plans. If someone really needs backward compatibility, they can fork old-binary and keep using it indefinitely long. (Or you can publish such fork yourself, if you want to be extra nice)
Not being able to roundtrip NaN is a cardinal sin for instance Binary Double, it must be rectified.
Discussion in the ATmosphere