EventRuntime.count_loop: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/event_runtime.bend as EventRuntime Lines 34-37 of bendvy-ecs-core@0.1.0.4/event_runtime.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/event_runtime.bend&start_line=34&end_line=37 import Base def count_loop(~E: Data,items: List<&2,E>,+acc: Nat) -> Nat: match items: case []: acc case _ <> rest: count_loop(~E,rest,1n+acc) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat