mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Rename straightToSplit to diffToRows.
This commit is contained in:
parent
485959b135
commit
6a05ca0b25
@ -26,8 +26,8 @@ split _ _ _ = return mempty
|
||||
|
||||
data Row = Row (Maybe HTML) (Maybe HTML)
|
||||
|
||||
straightToSplit :: Diff a Info -> String -> String -> [Row]
|
||||
straightToSplit (Free (Annotated (left, right) syntax)) = freeSyntaxToSplit (left, right) syntax
|
||||
diffToRows :: Diff a Info -> String -> String -> [Row]
|
||||
diffToRows (Free (Annotated (left, right) syntax)) = freeSyntaxToSplit (left, right) syntax
|
||||
|
||||
freeSyntaxToSplit :: (Info, Info) -> Syntax a (Diff a Info) -> String -> String -> [Row]
|
||||
freeSyntaxToSplit (left, right) (Leaf _) before after = []
|
||||
|
Loading…
Reference in New Issue
Block a user