def record.one
cswap-bend-cli@0.1.0.0 · urec.bend:97
import cswap-bend-cli@0.1.0.0/urec.bend as Urec
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore
97def record.one(+rows: Json.Json, +r: Rec, done: List<&2, String>, +now: U32) -> RA:
98 match r:
99 case Rec{id, claim, kind, usage, error, retry, struck, plan}:
100 record.apply(Ustore.row_of(rows, id), rows, Ustore.slot_of(id), claim, kind, usage, error, retry, struck, plan, done, now)