TraversalPartition.gather: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/traversal_partition.bend as TraversalPartition Lines 39-43 of stelliferous@0.0.2.0/traversal_partition.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/traversal_partition.bend&start_line=39&end_line=43 import Base def gather(~Output: Type,~copy: U32 -> U32 -> U32 -> U32 -> Output -> Output -> Output, partitions: Tree<&1,Output,U32>,output: Output,+positions: U32) -> Output: match partitions: case Leaf{input,offset,span,rows}: copy(rows,offset,positions,span,input,output) case Fork{left,right}: gather(~Output,~copy,right,gather(~Output,~copy,left,output,positions),positions) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_partition.bend&name=Tree