def plan

stelliferous@0.0.2.0 · tensor_band.bend:93

import stelliferous@0.0.2.0/tensor_band.bend as TensorBand
import Base
import stelliferous@0.0.2.0/traversal_partition.bend as Partition

93def plan(~Element: Data,bands: Bands(~Element)) -> Bands(~Element) & Plan:
94  match bands:
95    case Partition.Leaf{input,+first,+rows,details}:
96      (Partition.Leaf{input,first,rows,Unit{}},Rows{first,rows})
97    case Partition.Fork{left,right}: plan_join(~Element,plan(~Element,left),plan(~Element,right))

Uses (7)

Used by (14)