mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
We’re going to need these.
This commit is contained in:
parent
1704369fdc
commit
461c7629c9
@ -28,7 +28,7 @@ diffAt :: (Integer, Integer) -> [Term String Info] -> [Term String Info] -> Stat
|
||||
diffAt _ [] [] = return []
|
||||
diffAt _ [] bs = return $ (Pure . Insert) <$> bs
|
||||
diffAt _ as [] = return $ (Pure . Delete) <$> as
|
||||
diffAt (i, j) as bs = do
|
||||
diffAt (i, j) (a : as) (b : bs) = do
|
||||
state <- get
|
||||
case Map.lookup (i, j) state of
|
||||
Just diffs -> return $ fmap fst diffs
|
||||
|
Loading…
Reference in New Issue
Block a user