Nat.divmod: def of Base Import: import Base Lines 710-715 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=710&end_line=715 import Base def Nat.divmod(a: Nat, b: Nat) -> Nat & Nat: match b: case 0n: (0n, a) case 1n+bp: Nat.divmod.go(a, bp, 0n, 0n) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.divmod.go https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma