def blk.kind

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

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

267def blk.kind(k: BKind, +n: Nat, +t: String, ls: List<&2, Ln>, +all: List<&2, Ln>) -> Plan:
268  match k:
269    case KSeq{}:
270      PArr{split(all, n, False{})}
271    case KMap{}:
272      PObj{split(all, n, True{})}
273    case KScalar{}:
274      blk.scalar(List.is_empty(&2, Ln, ls), t)

Uses (10)

Used by (1)