def list.max.go
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport Base
319def list.max.go(xs: List<&2, F32>, cur: F32) -> F32:
320 match xs:
321 case Nil{}:
322 cur
323 case Con{+h, t}:
324 list.max.go(t, F32.max(cur, h))