mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Use a better name for the argument to sum
.
This commit is contained in:
parent
53e3928b3d
commit
062d54d731
@ -22,5 +22,5 @@ ses diffTerms cost (a : as) (b : bs) = case diffTerms a b of
|
||||
insert = (Pure . Insert $ b) : ses diffTerms cost (a : as) bs
|
||||
deleteCost = sumCost delete
|
||||
insertCost = sumCost insert
|
||||
sumCost a = sum $ cost <$> a
|
||||
sumCost script = sum $ cost <$> script
|
||||
copy head = head : ses diffTerms cost as bs
|
||||
|
Loading…
Reference in New Issue
Block a user