AxisSpec.position_next: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend as AxisSpec Lines 28-33 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=28&end_line=33 import Base def position_next(value: Maybe<&2, Nat>) -> Maybe<&2, Nat>: match value: case None{}: None{} case Some{index}: Some{1n+index} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat