def list.max
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport Base
326# the maximum of xs (0 for an empty list)
327def list.max(xs: List<&2, F32>) -> F32:
328 match xs:
329 case Nil{}:
330 0.0
331 case Con{+h, t}:
332 list.max.go(t, h)