def rows_push

cswap-bend-cli@0.1.0.0 · profview.bend:107

import cswap-bend-cli@0.1.0.0/profview.bend as Profview
import 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

Uses (7)

Used by (1)