def reorder_parent
bendvy-ecs-core@0.1.0.3 · execution_relation_interpreter.bend:43
import bendvy-ecs-core@0.1.0.3/execution_relation_interpreter.bend as ExecutionRelationInterpreter
import Base
import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as A
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/execution_relation_operation.bend as O
43def reorder_parent(~S:Data,namespace:U32,graph:T.Graph<S>,descriptor:T.Descriptor<S>,parent:W.Handle<S>,+children:List<&2,W.Handle<S>>,checked:A.Allocator & Bool) -> A.Allocator & O.Outcome<S>:
44 match checked:
45 case (allocator,parentLive):reorder_children(~S,graph,descriptor,parent,children,parentLive,children_checked(~S,namespace,children,allocator,[]))