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

🔥 a redundant blank line.

This commit is contained in:
Rob Rix 2016-04-14 13:15:27 -04:00
parent e3ace6408c
commit ce33d56086

View File

@ -166,7 +166,6 @@ spanAndSplitFirstLines pred = foldr go ([], [])
catThese :: [Join These a] -> Join These [a]
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 headRanges childLine = fromMaybe (flip (,) mempty <$> headRanges) $ (,) <$> headRanges `applyThese` childLine