Vec.Vec.set.if: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/vec.bend as Vec Lines 74-81 of bend-kit-collections@0.1.4.1/vec.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/vec.bend&start_line=74&end_line=81 import Base def Vec.set.if( ~T: Data, ok: Bool, n: U32, buf: Array, i: U32, x: T ) -> Vec: match ok: case True{}: Vec{n, Array.set(T, buf, i, x)} case False{}: Vec{n, buf} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/vec.bend&name=Vec