TensorBand.copy: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_band.bend as TensorBand Lines 76-79 of stelliferous@0.0.2.0/tensor_band.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_band.bend&start_line=76&end_line=79 import Base import stelliferous@0.0.2.0/storage_clone.bend as Clone import stelliferous@0.0.2.0/traversal_partition.bend as Partition def copy(~Element: Data,bands: Bands(~Element)) -> Bands(~Element) & Bands(~Element): match bands: case Partition.Leaf{input,+first,+rows,details}: copied_leaf(~Element,first,rows,Clone.clone(~Element,input)) case Partition.Fork{left,right}: copied_fork(~Element,copy(~Element,left),copy(~Element,right)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/storage_clone.bend&name=clone https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=Bands https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=copied_fork https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=copied_leaf https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_partition.bend&name=Tree