1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00

Stub in a JSON renderer.

This commit is contained in:
Rob Rix 2016-02-25 14:15:22 -07:00
parent e74aea88a1
commit 1a45d0b1d6

View File

@ -1,11 +1,15 @@
module Renderer.JSON (
JSON (JSON, rows)
json
) where
import Diff
import Row
import Source
import Renderer
import Renderer.Split
-- | JSON representing an aligned diff.
data JSON = JSON { rows :: [Row (SplitDiff (Source Char) Info)] }
json :: Renderer a String
json diff sources = ""