Memory.splice: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/memory.bend as Memory Lines 447-453 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/memory.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/memory.bend&start_line=447&end_line=453 import Base import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as SC # Words ws stored from index i on. def splice(ws: List<&2, U32>, +i: Nat, V: List<&2, U32>) -> List<&2, U32>: match ws: case Nil{}: V case w <> rest: splice(rest, Nat.add(i, 1n), SC.update(U32, V, i, w)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend&name=update