Eradicating unlawful Eq & Ord instances, crustacean style

IEEE 754 does define a total order on Double. It’s just that Haskell compare (and min, and max) choose to implement gods know what instead of it.

1 Like