ClockState.write_scoped: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/clock_state.bend as ClockState Lines 42-45 of bendvy-ecs-core@0.1.0.4/clock_state.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/clock_state.bend&start_line=42&end_line=45 import Base import bendvy-ecs-core@0.1.0.4/change_tick.bend as Tick def write_scoped(tick:Tick.Tick,scopes:List<&2,Tick.Tick>) -> State & Tick.Tick: match scopes: case []:advanced(Tick.next(tick),[]) case +active <> rest:(State{tick,active <> rest},active) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/change_tick.bend&name=Tick https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/change_tick.bend&name=next https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/clock_state.bend&name=State https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/clock_state.bend&name=advanced