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:
parent
71ca4fc147
commit
6e76f3e618
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user