def prof_push
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
188def prof_push(+m: Maybe<&2, P.Prof>, +raw: Json.Json, +cfg: Cfg.Cfg, +rest: List<&2, Json.Json>) -> List<&2, Json.Json>:
189 match m:
190 case Some{p}:
191 prof_json(raw, cfg, p) <> rest
192 case None{}:
193 rest