[Haskell-cafe] NaN as Integer value

Алексей Егоров electreg at list.ru
Sat Apr 13 18:16:05 CEST 2013


 Hello haskellers,

is there a reason why Integer doesn't have 'NaN' as value?
I think it would be very convenient to be able to handle (1 `div` 0) as regular NaN value and not as exception.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130413/da3994d2/attachment.htm>


More information about the Haskell-Cafe mailing list