Board.remove: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/board.bend as Board Lines 139-144 of minebender-game@1.0.0.0/board.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/board.bend&start_line=139&end_line=144 import Base import minebender-game@1.0.0.0/types.bend as T def remove(xs: List<&2, T.Pos>, +p: T.Pos) -> List<&2, T.Pos>: match xs: case Nil{}: Nil{} case +q <> t: List.filter.put(T.Pos, q, remove(t, p), Bool.not(same(q, p))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.filter.put https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=same https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos