def rows_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
107def rows_push(+m: Maybe<&2, P.Prof>, +raw: Json.Json, +cfg: Cfg.Cfg, +rest: List<&2, Row>) -> List<&2, Row>:
108 match m:
109 case Some{p}:
110 row_of(raw, cfg, p) <> rest
111 case None{}:
112 rest