def max_pct

cswap-bend-cli@0.1.0.0 · swpick.bend:231

import cswap-bend-cli@0.1.0.0/swpick.bend as Swpick
import 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))

Uses (3)

Used by (1)