def fill_f

bendtorch@1.3.0.0 · dtype.bend:371

import bendtorch@1.3.0.0/dtype.bend as Dtype
import Base

371def fill_f(xs: List<&2, F32>, +i: U32, a: Array<F32>) -> Array<F32>:
372  match xs:
373    case Nil{}:
374      a
375    case Con{h, t}:
376      fill_f(t, (i + 1 : U32), Array.set(F32, a, i, h))

Uses (6)

Used by (1)