def product
bendvy-ecs-core@0.1.0.4 · ordinary_schema.bend:42
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as OrdinarySchema
import Base
import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product
import bendvy-ecs-core@0.1.0.4/schema_fragments.bend as Fragment
42
43
44
45def product(~S:Data,~LC:Type,~LR:Type,~RC:Type,~RR:Type,left:Schema<S,LC,LR>,right:Schema<S,RC,RR>) -> Schema<S,Product.Owner<LC,RC>,Product.Owner<LR,RR>>:
46 Schema{List.append(&2,Fragment.Entry<S>,entries(~S,~LC,~LR,left),entries(~S,~RC,~RR,right))}