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

Remove adjoin2.

This commit is contained in:
Rob Rix 2015-12-21 10:04:51 -05:00
parent 446383565c
commit 4b487669a9

View File

@ -236,9 +236,6 @@ rowFromMaybeRows a b = Row (maybe EmptyLine (Line False . (:[])) a) (maybe Empty
maybeLast :: [a] -> Maybe a
maybeLast list = listToMaybe $ reverse list
adjoin2 :: [Row HTML] -> Row HTML -> [Row HTML]
adjoin2 = adjoin2By openElement
adjoin2By :: (a -> Maybe a) -> [Row a] -> Row a -> [Row a]
adjoin2By _ [] row = [row]