def product_next
import bendvy-ecs-core@0.1.0.4/ordinary_component_despawn.bend as OrdinaryComponentDespawnimport Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
27def product_next(~S:Data,~Store:Type,~E:Data,~right:Store -> W.Handle<S> -> Store & List<&2,E>,handle:W.Handle<S>,first:Store & List<&2,E>) -> Store & List<&2,E>:
28 (store,records)=first
29 append(~Store,~E,records,right(store,handle))