AxisSpec.lookup: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend as AxisSpec Lines 11-12 of bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend&start_line=11&end_line=12 import Base def lookup(-A: Data, values: List<&2, A>, index: Nat) -> Maybe<&2, A>: first(A, List.drop(&2, A, values, index)) 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=List.drop https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend&name=first