def layout_join
import bendvy-ecs-core@0.1.0.3/chunk_query.bend as ChunkQueryimport Base
import bendvy-ecs-core@0.1.0.3/chunk_column.bend as C
28def layout_join(~S:Data,~A:Type,+half:U32,left:C.Column<S,A> & Layout,right:C.Column<S,A> & Layout) -> C.Column<S,A> & Layout:
29 match left right:
30 case Tuple{l,ls} Tuple{r,rs}: (C.Branch{half,l,r},LayoutBranch{half,ls,rs})