1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

Define rightLines in terms of unRight.

This commit is contained in:
Rob Rix 2015-12-21 13:19:51 -05:00
parent 71ca4fc147
commit 6e76f3e618

View File

@ -252,9 +252,7 @@ leftLines :: [Row a] -> [Line a]
leftLines rows = unLeft <$> rows
rightLines :: [Row a] -> [Line a]
rightLines rows = right <$> rows
where
right (Row _ right) = right
rightLines rows = unRight <$> rows
openElement :: HTML -> Maybe HTML
openElement Break = Nothing