[Haskell-cafe] Mystery of an Eq instance

Stijn van Drongelen rhymoid at gmail.com
Tue Sep 24 18:36:50 CEST 2013


On Tue, Sep 24, 2013 at 5:39 PM, Sven Panne <svenpanne at gmail.com> wrote:

> 2013/9/22 Mike Meyer <mwm at mired.org>:
> > On Sat, Sep 21, 2013 at 5:28 PM, Bardur Arantsson <spam at scientician.net>
> > wrote:
> > Trying to make something whose name is "Not A Number" act like a
> > number sounds broken from the start.
>
> The point here is that IEEE floats are actually more something like a
> "Maybe Float", with various "Nothing"s, i.e. the infinities and NaNs,
> which all propagate in a well-defined way.


So, `Either IeeeFault Float`? ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130924/d94b76c2/attachment.htm>


More information about the Haskell-Cafe mailing list