MlbendReport.row_from: def of mlbend-report@0.1.0.0 Import: import mlbend-report@0.1.0.0/main.bend as MlbendReport Lines 70-80 of mlbend-report@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-report@0.1.0.0/main.bend&start_line=70&end_line=80 import Base # The row of the class i, from the column j on: n cells, the cell of # every class from j to j+n-1, ascending. The counted form is the # public one, because the law walks it: the counter of the cells left # is the argument that shrinks. def row_from(+ys: List<&2, Nat>, +ps: List<&2, Nat>, +k: Nat, +i: Nat, n: Nat, +j: Nat) -> List<&2, Nat>: match n: case 0n: Nil{} case 1n+rest: Con{cell(ys, ps, i, j), row_from(ys, ps, k, i, rest, (1n + j : Nat))} Uses (4): 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=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=mlbend-report@0.1.0.0/main.bend&name=cell