
13 Apr
2013
13 Apr
'13
4:41 p.m.
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.
I think because, if you need NaN like values, `Maybe Int` does the same job without tainting the definition of `Int`.