def ids

bendvy-ecs-core@0.1.0.3 · dependency_registration.bend:11

import bendvy-ecs-core@0.1.0.3/dependency_registration.bend as DependencyRegistration
import Base
import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as Plan

11def ids(nodes:List<&2,Plan.Node<String>>) -> List<&2,U32>:
12  match nodes:
13    case []:[]
14    case Plan.Node{id,_} <> rest:id <> ids(rest)

Uses (4)

Used by (2)