Collection reductions #
Scalar formats differ in their accumulation rules, but collection-shaped operations face the same structural failures. Keeping those failures here lets binary dot products, posit quires, and future reduction APIs report them without depending on one another.
Why a collection reduction could not be evaluated.
- lengthMismatch
(leftLength rightLength : Nat)
: ReductionError
The two input collections contain different numbers of elements.
Instances For
Instances For
Instances For
@[instance_reducible]