def accts
cswap-bend-cli@0.1.0.0 · tui/read.bend:251
import cswap-bend-cli@0.1.0.0/tui/read.bend as Read
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
import cswap-bend-cli@0.1.0.0/tui/model.bend as M
251def accts(+nums: List<&2, U32>, +seq: Json.Json, +cache: Json.Json, +status: Json.Json, +active: Maybe<&2, U32>, +now: U32) -> List<&2, M.Acct>:
252 match nums:
253 case Nil{}:
254 Nil{}
255 case Con{n, t}:
256 acct_cons(acct_opt(U32.show(n), Json.get(U32.show(n), SSeq.accounts_of(seq)), cache, status, active, now), accts(t, seq, cache, status, active, now))