RelationQuery.handles_acc: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_query.bend as RelationQuery Lines 47-50 of bendvy-ecs-core@0.1.0.4/relation_query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&start_line=47&end_line=50 import Base import entity_key.bend as Key import world.bend as W def handles_acc(~S:Data,ids:List<&2,Key.Key>,+namespace:U32,acc:List<&2,W.Handle>) -> List<&2,W.Handle>: match ids: case []: List.reverse(&2,W.Handle,acc) case id <> rest: handles_acc(~S,rest,namespace,W.Handle{namespace,id} <> acc) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse 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/entity_key.bend&name=Key https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle