1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 04:10:29 +03:00
This commit is contained in:
Rob Rix 2019-10-17 04:24:17 -04:00
parent cfb9151d0f
commit a559479779
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -25,7 +25,7 @@ import Source.Loc
data Summaries = Summaries { changes, errors :: Map.Map T.Text [Value] }
deriving (Eq, Show, Generic)
deriving Semigroup via GenericSemigroup Summaries
deriving Monoid via GenericMonoid Summaries
deriving Monoid via GenericMonoid Summaries
instance ToJSON Summaries where
toJSON Summaries{..} = object [ "changes" .= changes, "errors" .= errors ]