OptimizedCompose.map_store: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/optimized_compose.bend as OptimizedCompose Lines 7-11 of bendvy-ecs-core@0.1.0.4/optimized_compose.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/optimized_compose.bend&start_line=7&end_line=11 import Base import world.bend as W # Trusted schema preparation/recovery declarations preserve arbitrary Store/Ops. # The registered runner remains indexed by this closed provider selection. def map_store(~S:Data,~Store:Type,~R:Type,~E:Data,~map:Store -> Store,world:W.World) -> W.World: match world: case W.World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}: W.World{namespace,allocator,map(store),resource,events,pending,registrations,nextSystemId,clock} Uses (1): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World