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

Commit bb54b30

Browse files
committed
Serialize field metadata.
1 parent caeff71 commit bb54b30

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
@@ -55,5 +55,8 @@ instance (GToSExpression f, GToSExpression g) => GToSExpression (f :*: g) where
5555
instance GToSExpression U1 where
5656
gtoSExpression _ _ = []
5757

58+
instance GToSExpression f => GToSExpression (M1 S s f) where
59+
gtoSExpression = gtoSExpression . unM1 -- FIXME: show the selector name, if any
60+
5861
instance ToSExpression k => GToSExpression (K1 R k) where
5962
gtoSExpression k = pure . toSExpression (unK1 k)

0 commit comments

Comments
 (0)