1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Increase indentation.

This commit is contained in:
Rob Rix 2019-10-03 14:21:02 -04:00
parent 67e2909b05
commit 9439145b2b
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -77,4 +77,4 @@ instance ToSExpression t => GToSExpression (Rec1 t) where
gtoSExpression (Rec1 t) = pure . toSExpression t
instance (Foldable f, GToSExpression g) => GToSExpression (f :.: g) where
gtoSExpression (Comp1 fs) n = "(" : foldMap gtoSExpression fs n <> [")"]
gtoSExpression (Comp1 fs) n = "(" : foldMap gtoSExpression fs (n + 1) <> [")"]