InspectorQuery.composed_scan: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/inspector_query.bend as InspectorQuery Lines 201-206 of bendvy-ecs-core@0.1.0.4/inspector_query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&start_line=201&end_line=206 import Base import inspector_query_projection.bend as Q import world.bend as W # Engine scan adapter over supplied targets and a reversed row accumulator. # Canonical callers supply live targets and an empty initial accumulator. # This helper does not independently validate arbitrary handles; prefer # each_composed on a canonical composed grant for application inspection. def composed_scan(~H:Type,~S:Data,~V:Data,~selection:Q.DeclaredSelection,targets:List<&2,W.Handle>,owner:H,rows:List<&2,ProjectedRow>) -> ScanResult: composed_fold_done(~H,~S,~V,List.foldl(~&2,~W.Handle,~(H & List<&2,ProjectedRow>),~(acc => target => composed_fold_step(~H,~S,~V,~selection,acc,target)),targets,(owner,rows))) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.foldl 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/inspector_query.bend&name=ProjectedRow https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=ScanResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=composed_fold_done https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=composed_fold_step https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query_projection.bend&name=DeclaredSelection https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle