def product_next

bendvy-ecs-core@0.1.0.4 · ordinary_component_despawn.bend:27

import bendvy-ecs-core@0.1.0.4/ordinary_component_despawn.bend as OrdinaryComponentDespawn
import 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))

Uses (5)

Used by (1)