Word.inc: def of Base Import: import Base Lines 1338-1347 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=1338&end_line=1347 import Base def Word.inc(n: Nat, w: Word(n)) -> Word(n): match n: case 0n: WNil{} case 1n+p: match w: case WCon{False{}, t}: WCon{True{}, t} case WCon{True{}, t}: WCon{False{}, Word.inc(p, t)} 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil