MlbendSplit.count_rows: def of mlbend-split@0.1.1.0 Import: import mlbend-split@0.1.1.0/main.bend as MlbendSplit Lines 85-91 of mlbend-split@0.1.1.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-split@0.1.1.0/main.bend&start_line=85&end_line=91 import Base # The number of rows a list of folds holds. def count_rows(fs: List<&2, Nat>) -> Nat: match fs: case Nil{}: 0n case Con{h, t}: (1n + count_rows(t) : Nat) Uses (3): 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