Moved.cascade: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/moved.bend as Moved Lines 289-295 of ezx@1.11.0.0/src/ws/moved.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/moved.bend&start_line=289&end_line=295 import Base # the members the upgrade moves, from the ones it is asked to. Each round # moves at least one more member or ends, and a member moves once, so a # round per member the lock records and one more is fuel enough. def cascade(+cx: Ctx) -> List<&2, Shift>: Ctx{text, fs, files, +old, +base, only} = cx cascade.go((List.length(&2, Held, old) + 1n : Nat), Ctx{text, fs, files, old, base, only}, moves(old, base, base, only)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length 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=ezx@1.11.0.0/src/ws/moved.bend&name=Ctx https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/moved.bend&name=Held https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/moved.bend&name=Shift https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/moved.bend&name=cascade.go https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/moved.bend&name=moves