mirror of
https://github.com/github/semantic.git
synced 2025-01-05 14:11:33 +03:00
Remove adjoin2.
This commit is contained in:
parent
446383565c
commit
4b487669a9
@ -236,9 +236,6 @@ rowFromMaybeRows a b = Row (maybe EmptyLine (Line False . (:[])) a) (maybe Empty
|
|||||||
maybeLast :: [a] -> Maybe a
|
maybeLast :: [a] -> Maybe a
|
||||||
maybeLast list = listToMaybe $ reverse list
|
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 :: (a -> Maybe a) -> [Row a] -> Row a -> [Row a]
|
||||||
adjoin2By _ [] row = [row]
|
adjoin2By _ [] row = [row]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user