1
1
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:
Timothy Clem 2018-05-29 13:36:36 -07:00
parent d843846177
commit bda6dd29d6

View File

@ -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.