Hacker News new | past | comments | ask | show | jobs | submit login

Haskell's Ord typeclass is for ordering; it just represents types that have a total order, it doesn't represent ranges.



My bad the ordinal data type class is Enum not Ord!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: