mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
🔥 a redundant StringConv constraint.
This commit is contained in:
parent
b67e951197
commit
351ce77d11
@ -32,7 +32,7 @@ data Renderer input output where
|
||||
ToCRenderer :: (HasField fields Category, HasField fields (Maybe Declaration), HasField fields SourceSpan) => Renderer (Both SourceBlob, Diff (Syntax Text) (Record fields)) Summaries
|
||||
SExpressionParseTreeRenderer :: (HasField fields Category, HasField fields SourceSpan, Foldable f) => Renderer (Identity SourceBlob, Term f (Record fields)) ByteString
|
||||
|
||||
runRenderer :: (Monoid output, StringConv output ByteString) => Renderer input output -> input -> output
|
||||
runRenderer :: Monoid output => Renderer input output -> input -> output
|
||||
runRenderer renderer = case renderer of
|
||||
PatchRenderer -> File . uncurry R.patch
|
||||
JSONRenderer -> uncurry R.json
|
||||
|
Loading…
Reference in New Issue
Block a user