Game.flag.go: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/game.bend as Game Lines 377-384 of minebender-game@1.0.0.0/game.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/game.bend&start_line=377&end_line=384 import Base import minebender-game@1.0.0.0/types.bend as T def flag.go(c: Bool, g: Game, p: T.Pos) -> Game: match c: case False{}: g case True{}: match g: case Game{w, h, layout, shown, flags, status}: Game{w, h, layout, shown, toggle(flags, p), status} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=Game https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=toggle https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos