Line 1,009:
def go(xs):
mbi = findIndex(lambda x: w < x)(xs)
surplus = 1 + w▼
if None is mbi:
return xs
else:
neighbours = indexNeighbours(w)(mbi)
▲ surplus = 1 + w
return [
1 + k if i in neighbours else (
|