I know that for a type to have an instance of the Num
typeclass, there must be one from Eq
and Show
class (Eq a, Show a) => Num a
I'm wondering why it's required to be Eq
rather than Ord
. Does it make sense for a numerical type to be in Eq
but not in Ord
?