Digits.Digits: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/src/digits.bend as Digits Lines 26-33 of bend-trace-context@0.2.0.0/src/digits.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&start_line=26&end_line=33 import Base # The type of sequences of exactly n digits, computed from n: Digits(0n) is # Digits.Nil and Digits(1n+p) is Digits.Con
. def Digits(n: Nat) -> Data: match n: case 0n: Digits.Nil case 1n+p: Digits.Con
Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=Digits.Con https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=Digits.Nil