mirror of
https://github.com/github/semantic.git
synced 2025-01-05 05:58:34 +03:00
🔥 a redundant blank line.
This commit is contained in:
parent
e3ace6408c
commit
ce33d56086
@ -166,7 +166,6 @@ spanAndSplitFirstLines pred = foldr go ([], [])
|
|||||||
catThese :: [Join These a] -> Join These [a]
|
catThese :: [Join These a] -> Join These [a]
|
||||||
catThese as = maybe (Join (These [] [])) Join $ getUnion $ mconcat $ Union . Just . runJoin . fmap pure <$> as
|
catThese as = maybe (Join (These [] [])) Join $ getUnion $ mconcat $ Union . Just . runJoin . fmap pure <$> as
|
||||||
|
|
||||||
|
|
||||||
pairRangesWithLine :: Monoid b => Join These a -> Join These b -> Join These (a, b)
|
pairRangesWithLine :: Monoid b => Join These a -> Join These b -> Join These (a, b)
|
||||||
pairRangesWithLine headRanges childLine = fromMaybe (flip (,) mempty <$> headRanges) $ (,) <$> headRanges `applyThese` childLine
|
pairRangesWithLine headRanges childLine = fromMaybe (flip (,) mempty <$> headRanges) $ (,) <$> headRanges `applyThese` childLine
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user