LAWS.row_cells: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/LAWS.bend as LAWS Lines 52-58 of minebender-game@1.0.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/LAWS.bend&start_line=52&end_line=58 import Base import minebender-game@1.0.0.0/types.bend as T # The cells of row y, from column 0 up. def row_cells(+y: Nat, xs: List<&2, Nat>) -> List<&2, T.Pos>: match xs: case Nil{}: Nil{} case x <> t: T.Pos{x, y} <> row_cells(y, t) 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=minebender-game@1.0.0.0/types.bend&name=Pos