1
1
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:
Rob Rix 2015-11-27 09:49:32 -05:00
parent 53e3928b3d
commit 062d54d731

View File

@ -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