def chunks
bend-visgraph@2.0.0.0 · parallel.bend:113
import bend-visgraph@2.0.0.0/parallel.bend as Parallel
import Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG
113def chunks(cs: Chunks, o: VG.Out, +index: Bool, +g: VG.Visibility, +dir: VG.Direction, +k: VG.Weight, +lo: F32, +hi: F32) -> VG.Out:
114 match cs:
115 case CCon{+start, count, next}:
116 VG.Out{cols, xs, es} = o
117 VG.Cols{ys, lefts, rights} = cols
118 chunks(next, VG.points(U32.to_nat(count), start, Array.get(U32, lefts, start), Array.get(U32, rights, start), VG.Walked{Array.get(F32, ys, start), Array.get(F32, xs, start), es}, index, g, dir, k, lo, hi), index, g, dir, k, lo, hi)
119 case CNil{}:
120 o