def grp.go
import bend-parallel@0.1.0.0/histogram.bend as Histogramimport Base
212# Columns c to c + n of a group.
213def grp.go(+n: Nat, +sc: Bool, +c: U32, +k: U32, +top: U32, +last: U32, +step: U32, +nm: Nat, t: Array<U32>) -> Array<U32>:
214 match n:
215 case 0n:
216 grp.one(U32.is_lt(c, k), sc, c, top, last, step, nm, t)
217 case 1n+q:
218 grp.go(q, sc, (c + 1 : U32), k, top, last, step, nm, grp.one(U32.is_lt(c, k), sc, c, top, last, step, nm, t))