[Haskell-cafe] instance Enum Double considered not entirely great?

Evan Laforge qdunkan at gmail.com
Fri Sep 23 07:09:57 CEST 2011


> If you can clear this up with a better explanation of the properties,
> great!  But if you can't, then we ought to reject the kind of thinking
> that would remove useful behavior when it doesn't fit some theoretical
> properties that looked nice until you consider the edge cases.

It's not just theoretical properties, I've spent hours tracking down a
bug due to this.



More information about the Haskell-Cafe mailing list