def joined_components
bendvy-ecs-core@0.1.0.4 · snapshot_product.bend:6
import bendvy-ecs-core@0.1.0.4/snapshot_product.bend as SnapshotProduct
import Base
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product
6def joined_components(~LC:Type,~RC:Type,left:LC,fields:List<&2,D.Field>,observed:RC & List<&2,D.Field>) -> Product.Owner<LC,RC> & List<&2,D.Field>:
7 match observed:
8 case (right,more):(Product.Owner{left,right},List.append(&2,D.Field,fields,more))