ProofGrid.toggle_other.go: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/proof_grid.bend as ProofGrid Lines 314-323 of minebender-game@1.0.0.0/proof_grid.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/proof_grid.bend&start_line=314&end_line=323 import Base import minebender-game@1.0.0.0/types.bend as T import minebender-game@1.0.0.0/board.bend as B import minebender-game@1.0.0.0/game.bend as G def toggle_other.go(+flags: List<&2, T.Pos>, +p: T.Pos, +q: T.Pos, d: {B.same(p, q) == False{} : Bool}, +c: Bool) -> {B.contains(G.toggle.go(c, flags, p), q) == B.contains(flags, q) : Bool}: match c: case True{}: contains_remove_other(flags, p, q, d) case False{}: %Equal.sym(Bool, B.same(p, q), False{}, d) : {Bool.or(_, B.contains(flags, q)) == B.contains(flags, q) : Bool} {==} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym 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/board.bend&name=contains 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/game.bend&name=toggle.go https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_grid.bend&name=contains_remove_other https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos