Pkg.word: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 157-166 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=157&end_line=166 import Base # the nth word, or "" when the line is shorter than that. Both the list and the # count are scrutinised together, so the walk needs no helper to branch through. def word(ws: List<&2, String>, index: Nat) -> String: match ws index: case Nil{} _m: "" case Con{h, _t} 0n: h case Con{_h, t} 1n+p: word(t, p) 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=String