def with_warn

cswap-bend-cli@0.1.0.0 · clilist.bend:47

import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

47def with_warn(+k: String, xs: List<&2, String>, j: Json.Json) -> Json.Json:
48  match xs:
49    case Nil{}:
50      j
51    case Con{h, t}:
52      Json.set(k, Json.arr(strs_json(h <> t)), j)

Uses (6)

Used by (1)