BendMlLlama.last_v: def of bend-ml-llama@0.2.1.0 Import: import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama Lines 1165-1171 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=1165&end_line=1171 import Base # the value of the last candidate (lo if there is none) def last_v(cs: List<&2, Cand>, +lo: F32) -> F32: match cs: case Nil{}: lo case Con{Cand{v, i}, t}: last_v(t, v) 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=bend-ml-llama@0.2.1.0/main.bend&name=Cand