def fill
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2b/sized.bend as Sizedimport Base
29def fill(ws: List<&2, U32>, +i: U32, a: Array<U32>) -> Array<U32>:
30 match ws:
31 case Nil{}:
32 a
33 case w <> rest:
34 fill(rest, U32.inc(i), Array.set(U32, a, i, w))