Does the Numeric
type have a value for infinity (positive/negative) the same way that e.g. java has double.POSITIVE_INFINITY
if I remember correctly? What are the semantics for this?
There are no special values for infinities, NaN, or other non-numerics. The closest thing is maxBound
which gives you the maximum value for a bounded numeric type.