def win.parse

cswap-bend-cli@0.1.0.0 · importu.bend:45

import cswap-bend-cli@0.1.0.0/importu.bend as Importu
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

45def win.parse(+label: String, +s: String, t: Maybe<&2, U32>, out: Json.Json, +now: U32, +off: U32) -> Result<&2, &2, String, Json.Json>:
46  match t:
47    case None{}:
48      Fail{label ++ ".resetsAt is not an ISO-8601 time: '" ++ s ++ "'"}
49    case Some{u}:
50      Done{with_reset(s, out, now, off)}

Uses (7)

Used by (1)