def max_pct

cswap-bend-cli@0.1.0.0 · poll.bend:374

import cswap-bend-cli@0.1.0.0/poll.bend as Poll
import Base

374def max_pct(ws: List<&2, Win>, acc: Maybe<&2, U32>) -> Maybe<&2, U32>:
375  match ws:
376    case Nil{}:
377      acc
378    case Con{Win{p, r}, t}:
379      max_pct(t, max_acc(acc, p))

Uses (5)

Used by (1)