RelationQuery.selected_row: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_query.bend as RelationQuery Lines 102-105 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=102&end_line=105 import Base import relation_commands.bend as A import world.bend as W import transaction.bend as X import capabilities.bend as Cap def selected_row(~S:Data,~V:Data,~C:Type,~R:Type,~E:Data,~Out:Data,~body:@-H:Type -> Cap.ValueRead> -> H -> H & Out,observed:X.Tx,R,A.Notice>,A.Notice> & (Bool & Row),next:X.Tx,R,A.Notice>,A.Notice> -> X.Tx,R,A.Notice>,A.Notice> & List<&2,Out>) -> X.Tx,R,A.Notice>,A.Notice> & List<&2,Out>: match observed: case (tx,(False{},_)): next(tx) case (tx,(True{},row)): output_join(~S,~V,~C,~R,~E,~Out,invoke(~S,~V,~C,~R,~E,~Out,~body,row,tx),next) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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/capabilities.bend&name=ValueRead https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Notice https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=Row https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=invoke https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=output_join https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Tx https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World