ScheduleProvision.requirements: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as ScheduleProvision Lines 64-70 of bendvy-ecs-core@0.1.0.4/schedule_provision.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&start_line=64&end_line=70 import Base # Collect authored requirements left before right, retaining duplicates. # build deduplicates this list for its provisioned schedule. def requirements(~S: Data,plan: Plan) -> List<&2,Requirement>: match plan: case Empty{}: [] case Entry{_,needs}: needs case Sequence{left,right}: List.append(&2,Requirement,requirements(~S,left),requirements(~S,right)) 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.append https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&name=Plan https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&name=Requirement