def apply_result
bendvy-ecs-core@0.1.0.4 · relation_reorder.bend:49
import bendvy-ecs-core@0.1.0.4/relation_reorder.bend as RelationReorder
import Base
import relation_types.bend as G
import relation_commands.bend as A
import world.bend as W
49def apply_result(~S:Data,~C:Type,~R:Type,~E:Data,~d:G.HierarchyDescriptor<S>,world:W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,args:Args<S>) -> W.World<S,A.Store<S,C>,R,A.Notice<S,E>> & Maybe<&2,G.Error>:
50 match args:
51 case Args{W.Handle{+ns,+parent},children}: apply_parent_result(~S,~C,~R,~E,W.valid(~S,~A.Store<S,C>,~R,~A.Notice<S,E>,world,W.Handle{ns,parent}),descriptor(~S,d),parent,children)