LAWS.fin_of.next: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/shape/LAWS.bend as LAWS Lines 40-45 of bendtorch-core@0.1.0.0/src/shape/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/shape/LAWS.bend&start_line=40&end_line=45 import Base import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape def fin_of.next(-bound: Nat, index: Maybe<&2, Shape.Fin(bound)>) -> Maybe<&2, Shape.Fin(1n+bound)>: match index: case None{}: None{} case Some{previous}: Some{Shape.FNext{previous}} Uses (4): 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/shape/core.bend&name=Fin https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/shape/core.bend&name=Fin.Step