4 ms·
Haskell's Ord typeclass is for ordering; it just represents types that have a total order, it doesn't represent ranges.
by DylanSp 2y ago
Haskell's Ord typeclass is for ordering; it just represents types that have a total order, it doesn't represent ranges.
- cpa 2y agoMy bad the ordinal data type class is Enum not Ord!