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:
parent
8df205c10e
commit
8bbda1884d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user