def fill
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
813def fill(vs: List<&2, F32>, +i: U32, a: Array<F32>) -> Array<F32>:
814 match vs:
815 case Nil{}:
816 a
817 case Con{v, rest}:
818 fill(rest, (i + 1 : U32), Array.set(F32, a, i, v))