def prof_jsons
import cswap-bend-cli@0.1.0.0/profview.bend as Profviewimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/profile.bend as P
import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg
195def prof_jsons(+raw: Json.Json, +cfg: Cfg.Cfg, +ns: List<&2, String>) -> List<&2, Json.Json>:
196 match ns:
197 case Nil{}:
198 []
199 case Con{n, t}:
200 prof_push(P.find(raw, n), raw, cfg, prof_jsons(raw, cfg, t))