def field.inline
import cswap-bend-cli@0.1.0.0/fmt/yamlr.bend as Yamlrimport 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)