mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Serialize unit constructors.
This commit is contained in:
parent
8e98f7eaed
commit
50b9298457
@ -51,3 +51,6 @@ instance (Constructor c, GToSExpression f) => GToSExpression (M1 C c f) where
|
||||
|
||||
instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
|
||||
gtoSExpression (l :*: r) = gtoSExpression l <> gtoSExpression r
|
||||
|
||||
instance GToSExpression U1 where
|
||||
gtoSExpression _ _ = []
|
||||
|
Loading…
Reference in New Issue
Block a user