def max_pct
import cswap-bend-cli@0.1.0.0/swpick.bend as Swpickimport Base
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
231def max_pct(+xs: List<&2, U32>, +acc: U32) -> U32:
232 match xs:
233 case Nil{}:
234 acc
235 case Con{h, t}:
236 max_pct(t, SSeq.max_u32(acc, h))