TensorCursor.restore: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_cursor.bend as TensorCursor Lines 32-36 of stelliferous@0.0.2.0/tensor_cursor.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_cursor.bend&start_line=32&end_line=36 import Base # Outer axes: reset axes are kept reversed and restored after the carry stops. def restore(reset: List<&2,Axis>,axes: List<&2,Axis>) -> List<&2,Axis>: match reset: case []: axes case axis <> tail: restore(tail,axis <> axes) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_cursor.bend&name=Axis