def product
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
30def product(~S:Data,~Store:Type,~E:Data,~left:Store -> W.Handle<S> -> Store & List<&2,E>,~right:Store -> W.Handle<S> -> Store & List<&2,E>,store:Store,+handle:W.Handle<S>) -> Store & List<&2,E>:
31 product_next(~S,~Store,~E,~right,handle,left(store,handle))