TensorCursor.axes: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_cursor.bend as TensorCursor Lines 19-23 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=19&end_line=23 import Base import stelliferous@0.0.2.0/tensor_view.bend as Views def axes(source: List<&2,Views.Axis>,reversed: List<&2,Axis>) -> List<&2,Axis>: match source: case []: reversed case Views.Axis{+extent,stride} <> tail: axes(tail,include_axis(U32.is_lt(1,extent),extent,stride,reversed)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_cursor.bend&name=Axis https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_cursor.bend&name=include_axis https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_view.bend&name=Axis