mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Don’t shadow the head
function.
This commit is contained in:
parent
dcd3fbdf8e
commit
2e307510b2
@ -20,4 +20,4 @@ ses diffTerms cost (a : as) (b : bs) = case diffTerms a b of
|
||||
delete = (Pure . Delete $ a) : ses diffTerms cost as (b : bs)
|
||||
insert = (Pure . Insert $ b) : ses diffTerms cost (a : as) bs
|
||||
sumCost script = sum $ cost <$> script
|
||||
copy head = head : ses diffTerms cost as bs
|
||||
copy diff = diff : ses diffTerms cost as bs
|
||||
|
Loading…
Reference in New Issue
Block a user