Board.on_board: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/board.bend as Board Lines 17-20 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=17&end_line=20 import Base import minebender-game@1.0.0.0/types.bend as T def on_board(w: Nat, h: Nat, p: T.Pos) -> Bool: match p: case T.Pos{x, y}: Nat.is_lt(x, w) && Nat.is_lt(y, h) Uses (5): 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos