1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Category should derive Ord

This commit is contained in:
Matt Diephouse 2016-02-04 16:47:33 -05:00
parent 8df205c10e
commit 8bbda1884d

View File

@ -12,7 +12,7 @@ data Category =
DictionaryLiteral
-- | A non-standard category, which can be used for comparability.
| Other String
deriving (Eq, Show)
deriving (Eq, Show, Ord)
-- | The class of types that have categories.
class Categorizable a where