mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
const is a bit nicer
This commit is contained in:
parent
f7e721a3a0
commit
caf23dcf39
@ -33,7 +33,7 @@ runDiff JSONGraphDiffRenderer = withParsedBlobPairs (const pure) (render . ren
|
||||
renderAdjGraph blob diff = renderJSONAdjDiff blob (renderTreeGraph diff)
|
||||
runDiff SExpressionDiffRenderer = withParsedBlobPairs (const pure) (const (serialize (SExpression ByConstructorName)))
|
||||
runDiff ShowDiffRenderer = withParsedBlobPairs (const pure) (const (serialize Show))
|
||||
runDiff DOTDiffRenderer = withParsedBlobPairs (const pure) (\_ -> render renderTreeGraph) >=> serialize (DOT (diffStyle "diffs"))
|
||||
runDiff DOTDiffRenderer = withParsedBlobPairs (const pure) (const (render renderTreeGraph)) >=> serialize (DOT (diffStyle "diffs"))
|
||||
|
||||
data SomeTermPair typeclasses ann where
|
||||
SomeTermPair :: ApplyAll typeclasses syntax => Join These (Term syntax ann) -> SomeTermPair typeclasses ann
|
||||
|
Loading…
Reference in New Issue
Block a user