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