def children_prepend
bendvy-ecs-core@0.1.0.4 · relation_reorder.bend:33
import bendvy-ecs-core@0.1.0.4/relation_reorder.bend as RelationReorder
import Base
import entity_key.bend as Key
import relation_types.bend as G
import relation_commands.bend as A
import world.bend as W
33def children_prepend(~S:Data,~C:Type,~R:Type,~E:Data,result:W.World<S,A.Store<S,C>,R,A.Notice<S,E>> & List<&2,G.ChildStatus>,id:Key.Key,live:Bool) -> W.World<S,A.Store<S,C>,R,A.Notice<S,E>> & List<&2,G.ChildStatus>:
34 (world,rest) = result
35 (world,G.ChildStatus{id,live} <> rest)