Snapshot.rows: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/snapshot.bend as Snapshot Lines 14-17 of bendvy-ecs-core@0.1.0.4/snapshot.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/snapshot.bend&start_line=14&end_line=17 import Base import entity_key.bend as Key import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Export import bendvy-ecs-core@0.1.0.4/decode_data.bend as D import bendvy-ecs-core@0.1.0.4/world.bend as W def rows(~S:Data,~C:Type,~components:U32 -> C -> C & List<&2,D.Field>,handles:List<&2,W.Handle>,owner:C) -> C & List<&2,Export.Entity>: match handles: case []:(owner,[]) case W.Handle{_,+id} <> rest:stepped(~C,next => rows(~S,~C,~components,rest,next),id,components(Key.index(id),owner)) 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/entity_key.bend&name=index https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot.bend&name=stepped https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_data.bend&name=Entity https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle