Scan.uints.nth: def of gralha-text-scan@0.1.0.1 Import: import gralha-text-scan@0.1.0.1/scan.bend as Scan Lines 238-242 of gralha-text-scan@0.1.0.1/scan.bend: https://jend.leeeet.dev/read.txt?path=gralha-text-scan@0.1.0.1/scan.bend&start_line=238&end_line=242 import Base def uints.nth(xs: List<&2, U32>, n: Nat, +fallback: U32) -> U32: match xs n: case Nil{} _: fallback case Con{h, t} 0n: h case Con{h, t} 1n+d: uints.nth(t, d, fallback) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32