mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
add this back as per Rob's approval
This commit is contained in:
parent
8befed9940
commit
2b23609d4a
@ -87,3 +87,5 @@ class GFields f where
|
|||||||
-- since it's a function on types, we need a typeclass
|
-- since it's a function on types, we need a typeclass
|
||||||
class GValue f where
|
class GValue f where
|
||||||
gvalue :: (ToJSON a) => f a -> Value
|
gvalue :: (ToJSON a) => f a -> Value
|
||||||
|
|
||||||
|
-- TODO: use toEncoding -- direct serialization to ByteString
|
Loading…
Reference in New Issue
Block a user