Proposal: New Eq and Ord instances for Double and Float

Daniel Peebles pumpkingod at
Mon Sep 26 07:10:24 CEST 2011

Is it? our Ord class already violates the IEEE spec (and can't help it), so
we might as well violate it and be mathematically useful.

On Mon, Sep 26, 2011 at 1:05 AM, Bryan O'Sullivan <bos at>wrote:

> On Sun, Sep 25, 2011 at 10:53 PM, Daniel Fischer <
> at> wrote:
>> Proposal: Provide Double and Float with Eq and Ord instances that
>> introduce
>> a total order.
> I am strongly against this proposal, as it is in an area that is
> particularly poorly understood by most programmers (even experts). While the
> current behaviour may be undesirable from some points of view, at least it
> is consistent with most other programming languages - and this is one of the
> few areas where I think that's important.
> _______________________________________________
> Libraries mailing list
> Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list