1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Serialize fields.

This commit is contained in:
Rob Rix 2019-06-19 14:19:01 -04:00
parent 50b9298457
commit caeff71a33
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -54,3 +54,6 @@ instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
instance GToSExpression U1 where
gtoSExpression _ _ = []
instance ToSExpression k => GToSExpression (K1 R k) where
gtoSExpression k = pure . toSExpression (unK1 k)