def join_strs

cswap-bend-cli@0.1.0.0 · profile.bend:75

import cswap-bend-cli@0.1.0.0/profile.bend as Profile
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

75def join_strs(+xs: List<&2, Json.Json>) -> List<&2, String>:
76  match xs:
77    case Nil{}:
78      []
79    case Con{Json.JStr{s}, t}:
80      s <> join_strs(t)
81    case Con{h, t}:
82      join_strs(t)

Uses (3)

Used by (1)