Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit caeff71

Browse files
committed
Serialize fields.
1 parent 50b9298 commit caeff71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Serializing/SExpression/Precise.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
5454

5555
instance GToSExpression U1 where
5656
gtoSExpression _ _ = []
57+
58+
instance ToSExpression k => GToSExpression (K1 R k) where
59+
gtoSExpression k = pure . toSExpression (unK1 k)

0 commit comments

Comments
 (0)