Poll.win.back: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/poll.bend as Poll Lines 302-307 of cswap-bend-cli@0.1.0.0/poll.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&start_line=302&end_line=307 import Base import cswap-bend-cli@0.1.0.0/policy/types.bend as PT def win.back(ws: List<&2, PT.Win>) -> List<&2, Win>: match ws: case Nil{}: [] case Con{PT.Win{p, r}, t}: Win{U32.from_nat(Nat.div(p, 10n)), maybe_u32(r)} <> win.back(t) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=Win https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&name=Win https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&name=maybe_u32