def chain_from

bendvy-ecs-core@0.1.0.3 · dependency_plan.bend:128

import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as DependencyPlan
import Base

128def chain_from(ids:List<&2,U32>,+previous:U32) -> List<&2,Edge>:
129  match ids:
130    case []:[]
131    case +next <> rest:Edge{previous,next} <> chain_from(rest,next)

Uses (3)

Used by (1)