OrdinaryServiceDeclaration.requirement: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend as OrdinaryServiceDeclaration Lines 31-34 of bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&start_line=31&end_line=34 import Base import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP # Derive the service-id requirement from this operational declaration. def requirement(~S:Data,~R:Type,~P:Type,~Rest:Type,~take:R -> Rest & Slot

,~put:Rest -> Slot

-> R,~call:P -> P,value:Declaration) -> SP.Requirement: match value: case Declaration{id,_}:SP.Service{id} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&name=Slot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/schedule_provision.bend&name=Requirement