1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Add a Row type.

This commit is contained in:
Rob Rix 2015-12-03 10:02:08 -05:00
parent f97b2aa8b4
commit 8db4f0f947

View File

@ -24,6 +24,11 @@ data HTML =
split :: Diff a Info -> String -> String -> IO ByteString
split _ _ _ = return mempty
data Row =
ContextRow HTML HTML
| ReplaceRow HTML HTML
| InsertRow HTML
| DeleteRow HTML
straightToSplit :: Diff a Info -> String -> String -> [(HTML, HTML)]
straightToSplit diff before after = []