mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Use a list literal.
This commit is contained in:
parent
70c309aaec
commit
7dabb9a972
@ -68,7 +68,7 @@ instance GToSExpression f => GToSExpression (M1 S s f) where
|
||||
gtoSExpression = gtoSExpression . unM1 -- FIXME: show the selector name, if any
|
||||
|
||||
instance Show k => GToSExpression (K1 R k) where
|
||||
gtoSExpression k _ = pure (stringUtf8 (show (unK1 k)))
|
||||
gtoSExpression k _ = [stringUtf8 (show (unK1 k))]
|
||||
|
||||
instance GToSExpression Par1 where
|
||||
gtoSExpression _ _ = []
|
||||
|
Loading…
Reference in New Issue
Block a user