def table

cswap-bend-cli@0.1.0.0 · fmt/csv.bend:43

import cswap-bend-cli@0.1.0.0/fmt/csv.bend as Csv
import Base

43# Records, each ending in LF.
44def table(rs: List<&2, List<&2, String>>) -> String:
45  match rs:
46    case Nil{}:
47      ""
48    case Con{r, t}:
49      row(r) ++ "\n" ++ table(t)

Uses (4)

Used by (3)