mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
Call it term instead of category
This commit is contained in:
parent
d843846177
commit
bda6dd29d6
@ -24,7 +24,7 @@ instance Show ConstructorLabel where
|
||||
showsPrec _ (ConstructorLabel s) = showString (unpack s)
|
||||
|
||||
instance ToJSONFields ConstructorLabel where
|
||||
toJSONFields (ConstructorLabel s) = [ "category" .= decodeUtf8 s ]
|
||||
toJSONFields (ConstructorLabel s) = [ "term" .= decodeUtf8 s ]
|
||||
|
||||
|
||||
-- | A typeclass to retrieve the name of the data constructor for a value.
|
||||
|
Loading…
Reference in New Issue
Block a user