mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Update Precise.hs
Define a GToSExpression instance for Rec1.
This commit is contained in:
parent
4b0ec75528
commit
feac508bb5
@ -67,3 +67,6 @@ instance Show k => GToSExpression (K1 R k) where
|
||||
|
||||
instance GToSExpression Par1 where
|
||||
gtoSExpression _ _ = []
|
||||
|
||||
instance ToSExpression t => GToSExpression (Rec1 t) where
|
||||
gtoSExpression (Rec1 t) = pure . toSExpression t
|
||||
|
Loading…
Reference in New Issue
Block a user