diff --git a/semantic-tags/src/Tags/Taggable/Precise.hs b/semantic-tags/src/Tags/Taggable/Precise.hs index 29780299b..c98592adc 100644 --- a/semantic-tags/src/Tags/Taggable/Precise.hs +++ b/semantic-tags/src/Tags/Taggable/Precise.hs @@ -36,7 +36,9 @@ data Kind | Call deriving (Bounded, Enum, Eq, Generic, Show) -instance ToJSON Kind +instance ToJSON Kind where + toJSON = toJSON . show + toEncoding = toEncoding . show newtype Python a = Python { getPython :: Python.Module a }