Scan.nth: def of gralha-text-scan@0.1.0.1 Import: import gralha-text-scan@0.1.0.1/scan.bend as Scan Lines 232-236 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=232&end_line=236 import Base def nth(xs: List<&2, F32>, i: Nat, fallback: F32) -> F32: match xs i: case Nil{} _: fallback case Con{h, t} 0n: h case Con{h, t} 1n+p: nth(t, p, fallback) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat