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

Constrain ToCRenderer appropriately.

This commit is contained in:
Rob Rix 2017-03-31 16:49:09 -04:00
parent d612dccb8d
commit 8dcc7703dc

View File

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