Rc4.rc4.set: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend as Rc4 Lines 45-58 of bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend&start_line=45&end_line=58 import Base import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L def rc4.set(t: L.LcTab, path: List<&2, Bool>, v: U32) -> L.LcTab: match t: case L.LcLeaf{w}: L.LcLeaf{v} case L.LcNode{l, r}: match path: case Nil{}: L.LcNode{l, r} case Con{b, rest}: match b: case True{}: L.LcNode{l, rc4.set(r, rest, v)} case False{}: L.LcNode{rc4.set(l, rest, v), r} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=LcTab