def rk.bar_of

cswap-bend-cli@0.1.0.0 · policy/pick.bend:458

import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pick
import Base
import cswap-bend-cli@0.1.0.0/policy/rank.bend as R

458def rk.bar_of(+rk: Rk) -> Maybe<&2, Nat>:
459  match rk:
460    case Rk{t, cf, rm, ah0, best, ar, ars, thr, s}:
461      match s:
462        case R.Sel{active, bar, need, us, now, ms}:
463          bar

Uses (4)

Used by (1)