EventPublication.first_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 40-43 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=40&end_line=43 import Base def first_values_loop(~A:Data,~B:Data,items:List<&2,Publication>,reversed:List<&2,A>) -> List<&2,A>: match items: case []:List.reverse(&2,A,reversed) case Publication{first,_} <> rest:first_values_loop(~A,~B,rest,prepend_values(~A,first,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