mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
Bring the sumCost function over.
This commit is contained in:
parent
e1cd992155
commit
29475a1ef6
@ -35,3 +35,5 @@ diffAt (i, j) cost (a : as) (b : bs) = do
|
||||
Nothing -> do
|
||||
put $ Map.insert (i, j) [] cachedDiffs
|
||||
return []
|
||||
where
|
||||
sumCost script = sum $ cost <$> script
|
||||
|
Loading…
Reference in New Issue
Block a user