[Haskell-cafe] Re: Why purely in haskell?

Vladimir Zlatanov vlado at dikini.net
Fri Jan 11 05:19:54 EST 2008


> However, the fact that (0 / 0) == (0 / 0) yields False is quite shocking. 
In my opinion it is the better than yielding True. 0/0 doesn't make
sense. So it can't be compared to anything else which doesn't make
sense. 

Whether == should yield False at all is another matter. It may be better
to yield some kind of bottom (undefined?), but then compatibility with
IEEE 754 might be an issue, hence using external libraries like BLAS,
gmp, ...



More information about the Haskell-Cafe mailing list