def child_next
bendvy-ecs-core@0.1.0.3 · execution_relation_interpreter.bend:33
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/entity_key.bend as K
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
33def child_next(key:K.Key,reversed:List<&2,T.ChildStatus>,next:A.Allocator -> List<&2,T.ChildStatus> -> A.Allocator & List<&2,T.ChildStatus>,checked:A.Allocator & Bool) -> A.Allocator & List<&2,T.ChildStatus>:
34 match checked:
35 case (allocator,isLive):next(allocator,T.ChildStatus{key,isLive} <> reversed)