mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Rejigger some parentheses to avoid a $.
This commit is contained in:
parent
56aa250f96
commit
671ecc2c11
@ -47,4 +47,4 @@ diffAt diffTerms cost (i, j) (a : as) (b : bs) = do
|
||||
recur = diffAt diffTerms cost
|
||||
|
||||
consWithCost :: Cost a annotation -> Diff a annotation -> [(Diff a annotation, Integer)] -> [(Diff a annotation, Integer)]
|
||||
consWithCost cost diff rest = (diff, cost diff + (maybe 0 snd $ fst <$> uncons rest)) : rest
|
||||
consWithCost cost diff rest = (diff, cost diff + maybe 0 snd (fst <$> uncons rest)) : rest
|
||||
|
Loading…
Reference in New Issue
Block a user