def matching

bendvy-ecs-core@0.1.0.4 · ordinary_app_schedule_access.bend:25

import bendvy-ecs-core@0.1.0.4/ordinary_app_schedule_access.bend as OrdinaryAppScheduleAccess
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as Fields

25def matching(~S:Data,+namespace:U32,+id:U32,records:List<&2,Fields.Fields<S>>) -> List<&2,Fields.Fields<S>>:
26  match records:
27    case []:[]
28    case +record <> rest:identified(~S,namespace,id,record,matching(~S,namespace,id,rest))

Uses (4)

Used by (1)