mirror of
https://github.com/github/semantic.git
synced 2024-12-28 09:21:35 +03:00
Abstract JSON over a type variable.
This commit is contained in:
parent
2da6a3527b
commit
79c7fdecda
@ -9,7 +9,7 @@ import Renderer
|
||||
import Renderer.Split
|
||||
|
||||
-- | JSON representing an aligned diff.
|
||||
data JSON = JSON { rows :: [Row (SplitDiff (Source Char) Info)] }
|
||||
data JSON a = JSON { rows :: [Row (SplitDiff a Info)] }
|
||||
|
||||
json :: Renderer a String
|
||||
json diff sources = ""
|
||||
|
Loading…
Reference in New Issue
Block a user