BendMlLlama.st_nth: def of bend-ml-llama@0.2.1.0 Import: import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama Lines 1617-1624 of bend-ml-llama@0.2.1.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-llama@0.2.1.0/main.bend&start_line=1617&end_line=1624 import Base def st_nth(xs: List<&2, U32>, k: Nat) -> U32: match xs k: case Con{+x, t} 0n: x case Con{x, t} 1n+p: st_nth(t, p) case Nil{} _: 0 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