Board.touching: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/board.bend as Board Lines 55-60 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=55&end_line=60 import Base import minebender-game@1.0.0.0/types.bend as T def touching(+p: T.Pos, qs: List<&2, T.Pos>) -> List<&2, T.Pos>: match qs: case Nil{}: Nil{} case +q <> t: List.filter.put(T.Pos, q, touching(p, t), adjacent(p, q)) 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=List.filter.put https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=adjacent https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos