def field.inline

cswap-bend-cli@0.1.0.0 · fmt/yamlr.bend:218

import cswap-bend-cli@0.1.0.0/fmt/yamlr.bend as Yamlr
import Base

218def field.inline(empty: Bool, +k: String, +rest: String, body: List<&2, Ln>, r: List<&2, List<&2, Ln>>) -> Plan:
219  match empty:
220    case True{}:
221      PFieldB{k, body, r}
222    case False{}:
223      field.both(List.is_empty(&2, Ln, body), k, rest, r)

Uses (7)

Used by (1)