def remove

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

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

86def remove(~Requirement:Data,nodes:List<&2,Node<Requirement>>,+id:U32) -> List<&2,Node<Requirement>>:
87  match nodes:
88    case []:[]
89    case +first <> rest:keep_other(~Requirement,U32.is_eq(node_id(~Requirement,first),id),first,remove(~Requirement,rest,id))

Uses (6)

Used by (1)