1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00

Constrain the SummaryRenderer.

This commit is contained in:
Rob Rix 2017-03-31 16:39:40 -04:00
parent b30c19e68b
commit 1cd5b2bfec

View File

@ -25,7 +25,7 @@ data DiffRenderer fields output where
SplitRenderer :: (HasField fields Category, HasField fields Range) => DiffRenderer fields Text SplitRenderer :: (HasField fields Category, HasField fields Range) => DiffRenderer fields Text
PatchRenderer :: HasField fields Range => DiffRenderer fields Text PatchRenderer :: HasField fields Range => DiffRenderer fields Text
JSONDiffRenderer :: (ToJSON (Record fields), HasField fields Category, HasField fields Range) => DiffRenderer fields (Map Text Value) JSONDiffRenderer :: (ToJSON (Record fields), HasField fields Category, HasField fields Range) => DiffRenderer fields (Map Text Value)
SummaryRenderer :: DiffRenderer fields (Map Text (Map Text [Value])) SummaryRenderer :: HasDefaultFields fields => DiffRenderer fields (Map Text (Map Text [Value]))
SExpressionDiffRenderer :: (HasField fields Category, HasField fields SourceSpan) => SExpressionFormat -> DiffRenderer fields ByteString SExpressionDiffRenderer :: (HasField fields Category, HasField fields SourceSpan) => SExpressionFormat -> DiffRenderer fields ByteString
ToCRenderer :: DiffRenderer fields (Map Text (Map Text [Value])) ToCRenderer :: DiffRenderer fields (Map Text (Map Text [Value]))