<div dir="ltr">On Tue, Sep 20, 2011 at 17:56, Evan Laforge <span dir="ltr"><<a href="mailto:qdunkan@gmail.com">qdunkan@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> I actually think the brokenness of Ord for floating point values is<br>
> worse in many ways, as demonstrated by the ability to insert a value<br>
> into a Data.Set.Set and have other values "disappear" from the set as<br><br>
</div>Whoah, that's scary. What are some examples of this happening? Does<br>
this mean it's unsafe to store Doubles in a Map?</blockquote><div><br></div><div>It's unsafe to use them as a key ((Set a) being effectively (Map a ())), but that should be pretty obvious anyway given that (==) isn't reliable for Double.</div>
</div><div><br></div>-- <br>brandon s allbery <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available) (412) 475-9364 vm/sms<br>
<br>
</div>