mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Serialize field metadata.
This commit is contained in:
parent
caeff71a33
commit
bb54b3094d
@ -55,5 +55,8 @@ instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
|
||||
instance GToSExpression U1 where
|
||||
gtoSExpression _ _ = []
|
||||
|
||||
instance GToSExpression f => GToSExpression (M1 S s f) where
|
||||
gtoSExpression = gtoSExpression . unM1 -- FIXME: show the selector name, if any
|
||||
|
||||
instance ToSExpression k => GToSExpression (K1 R k) where
|
||||
gtoSExpression k = pure . toSExpression (unK1 k)
|
||||
|
Loading…
Reference in New Issue
Block a user