def apply_kind2
import cswap-bend-cli@0.1.0.0/urec.bend as Urecimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
63def apply_kind2(fail: Bool, +row: Json.Json, +error: String, retry: Maybe<&2, U32>, struck: Json.Json, +now: U32) -> Json.Json:
64 match fail:
65 case True{}:
66 apply_fail(row, error, retry, struck, now)
67 case False{}:
68 release(row)