Empty.close.depth: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Empty Lines 135-148 of bolt@1.27.0.0/src/rules/suspicious/empty.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/suspicious/empty.bend&start_line=135&end_line=148 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # a bracket at the depth: the length's own `)` at depth zero; else the depth # it leaves def close.depth(kk: Lex.TokKind, dd: Nat) -> Nat: match kk: case Lex.TOpen{}: 1n+dd case Lex.TClose{}: match dd: case 0n: 0n case 1n+p: p case other: dd Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=TokKind