mirror of
https://github.com/github/semantic.git
synced 2025-01-05 14:11:33 +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
|
leftLines rows = unLeft <$> rows
|
||||||
|
|
||||||
rightLines :: [Row a] -> [Line a]
|
rightLines :: [Row a] -> [Line a]
|
||||||
rightLines rows = right <$> rows
|
rightLines rows = unRight <$> rows
|
||||||
where
|
|
||||||
right (Row _ right) = right
|
|
||||||
|
|
||||||
openElement :: HTML -> Maybe HTML
|
openElement :: HTML -> Maybe HTML
|
||||||
openElement Break = Nothing
|
openElement Break = Nothing
|
||||||
|
Loading…
Reference in New Issue
Block a user