
23 Apr
2010
23 Apr
'10
9:39 p.m.
Casey McCann wrote:
The only correct solution would be to strip floating point types of their instances for Ord, Eq, and--therefore, by extension--Num. For some reason, no one else seems to like that idea. I can't imagine why...
I'm not terribly opposed to it. But then, I've also defined classes for partial orderings[1] and for types containing transfinite values[2] in order to try to render floats usable. Also, don't forget some of the other bugs[3] in Hugs. [1] http://hackage.haskell.org/packages/archive/logfloat/0.12.1/doc/html/Data-Nu... [2] http://hackage.haskell.org/packages/archive/logfloat/0.12.1/doc/html/Data-Nu... [3] http://hackage.haskell.org/packages/archive/logfloat/0.12.1/doc/html/Hugs-Re... -- Live well, ~wren