Structural.removal_published: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/structural.bend as Structural Lines 57-62 of bendvy-ecs-core@0.1.0.4/structural.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/structural.bend&start_line=57&end_line=62 import Base import bendvy-ecs-core@0.1.0.4/column.bend as Col import bendvy-ecs-core@0.1.0.4/component.bend as F import bendvy-ecs-core@0.1.0.4/world.bend as W # Observed removal publishes only after successful barrier application and a real owned slot. def removal_published(~S: Data,~Store: Type,~R: Type,~E: Data,~Rest: Type,~C: Type,~V: Data,~Token: Data,~take: Store -> Rest & Col.Column,~put: Rest -> Col.Column -> Store,~project: C -> C & V,~record: W.Handle -> E,handle: W.Handle,result: F.Replacement,C>) -> W.World: match result: case F.Replaced{world,None{}}: world case F.Replaced{world,Some{owner}}: W.event_publish(~S,~Store,~R,~E,world,[record(handle)]) case F.ReplaceRejected{world,_,_}: world Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/column.bend&name=Column https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Replacement https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=event_publish