mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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
|
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
|
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
|
runRenderer renderer = case renderer of
|
||||||
PatchRenderer -> File . uncurry R.patch
|
PatchRenderer -> File . uncurry R.patch
|
||||||
JSONRenderer -> uncurry R.json
|
JSONRenderer -> uncurry R.json
|
||||||
|
Loading…
Reference in New Issue
Block a user