def run0.sums
import bend-parallel@0.1.0.0/scan.bend as Scanimport Base
190# The scan with pass 2 on one lane.
191def run0.sums(+inc: Bool, +d: Nat, +e: Nat, r: Two) -> Array<U32> & U32:
192 Two{a, s} = r
193 run.mid(inc, d, e, a, ex.go(U32.to_nat((U32.shln(1, d) - 1 : U32)), 0, 0, s[0]))