1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00

Don’t shadow the head function.

This commit is contained in:
Rob Rix 2015-11-27 12:03:48 -05:00
parent dcd3fbdf8e
commit 2e307510b2

View File

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