def table
import cswap-bend-cli@0.1.0.0/fmt/csv.bend as Csvimport 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)