Proposal (long term): Remove (/=) from Eq; change the semantics of (==) for floating point

Carter Schonwald carter.schonwald at gmail.com
Thu Sep 25 05:19:47 UTC 2014


i'm strongly -1 on doing ANYTHING resembling
instance Eq Double where
  x == y   =  decodeFloat x == decodeFloat y

floating point is odd because it kinda has to be, and changes to the
defaults for that
need a lot of discussion about the implications (even before they got to
the libraries list).





On Thu, Sep 25, 2014 at 1:05 AM, Johan Tibell <johan.tibell at gmail.com>
wrote:

> -1
>
> This would make floating point values a pain to work with for seemingly
> little gain.
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140925/dc7376b7/attachment.html>


More information about the Libraries mailing list