Cast6.c6.set: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/cast6.bend as Cast6 Lines 106-116 of bend-osdev-legacy-ciphers@0.1.0.0/cast6.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/cast6.bend&start_line=106&end_line=116 import Base # word i of xs replaced by v def c6.set(xs: List<&2, U32>, i: Nat, v: U32) -> List<&2, U32>: match xs: case Nil{}: Nil{} case Con{x, t}: match i: case 0n: Con{v, t} case 1n+j: Con{x, c6.set(t, j, v)} Uses (3): 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=U32