
7 Apr
2006
7 Apr
'06
1:36 a.m.
G'day all.
Quoting Robert Dockins
Ewwwwww! Be careful how far you depend on properties of typeclasses, and make sure you document it when you do.
The behaviour of NaN actually makes perfect sense when you realise that it is Not a Number. Things that are not numbers are incomparable with things that are. Yes, NaN can be of type Float. But it's not a Float. Cheers, Andrew Bromage