Visgraph.set_at: def of bend-visgraph@2.0.0.0 Import: import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph Lines 636-643 of bend-visgraph@2.0.0.0/visgraph.bend: https://jend.leeeet.dev/read.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&start_line=636&end_line=643 import Base def set_at(k: Nat, ts: Tops, v: F32) -> Tops: match k ts: case 0n TCon{old, next}: TCon{v, next} case 1n+p TCon{old, next}: TCon{old, set_at(p, next, v)} case _ TNil{}: TNil{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=Tops