def cell.reset
import cswap-bend-cli@0.1.0.0/view.bend as Viewimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
68def cell.reset(m: Maybe<&2, String>, +w: Json.Json, +now: U32, +off: U32) -> Maybe<&2, Cell>:
69 match m:
70 case Some{s}:
71 cell.at(Clock.parse_iso8601(s), w, now, off)
72 case None{}:
73 cell.stored(w)