ProofCells.allp: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/proof_cells.bend as ProofCells Lines 11-17 of minebender-game@1.0.0.0/proof_cells.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/proof_cells.bend&start_line=11&end_line=17 import Base import minebender-game@1.0.0.0/types.bend as T # Every cell of ps passes f (with e for f's context). def allp(~E: Data, ~f: E -> T.Pos -> Bool, +e: E, ps: List<&2, T.Pos>) -> Bool: match ps: case Nil{}: True{} case q <> t: f(e, q) && allp(~E, ~f, e, t) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos