def last_v
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport Base
1165# the value of the last candidate (lo if there is none)
1166def last_v(cs: List<&2, Cand>, +lo: F32) -> F32:
1167 match cs:
1168 case Nil{}:
1169 lo
1170 case Con{Cand{v, i}, t}:
1171 last_v(t, v)