TensorView.unique_axes: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_view.bend as TensorView Lines 152-155 of stelliferous@0.0.2.0/tensor_view.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_view.bend&start_line=152&end_line=155 import Base def unique_axes(order: List<&2,Nat>) -> Bool: match order: case Nil{}: True{} case Con{axis,+tail}: Bool.not(contains_index(tail,axis)) && unique_axes(tail) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_view.bend&name=contains_index