On Tue, Sep 20, 2011 at 17:56, Evan Laforge <qdun...@gmail.com> wrote:
> > I actually think the brokenness of Ord for floating point values is > > worse in many ways, as demonstrated by the ability to insert a value > > into a Data.Set.Set and have other values "disappear" from the set as > > Whoah, that's scary. What are some examples of this happening? Does > this mean it's unsafe to store Doubles in a Map? 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. -- brandon s allbery allber...@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe