EventPublication.second_values_loop: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/event_publication.bend as EventPublication Lines 45-48 of bendvy-ecs-core@0.1.0.4/event_publication.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/event_publication.bend&start_line=45&end_line=48 import Base def second_values_loop(~A:Data,~B:Data,items:List<&2,Publication>,reversed:List<&2,B>) -> List<&2,B>: match items: case []:List.reverse(&2,B,reversed) case Publication{_,second} <> rest:second_values_loop(~A,~B,rest,prepend_values(~B,second,reversed)) Uses (4): 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=bendvy-ecs-core@0.1.0.4/event_publication.bend&name=Publication https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_publication.bend&name=prepend_values