def rows
import cswap-bend-cli@0.1.0.0/fmt/shape.bend as Shapeimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
122def rows(items: List<&2, Json.Json>, +cols: List<&2, Col>) -> List<&2, List<&2, String>>:
123 match items:
124 case Nil{}:
125 []
126 case Con{+h, t}:
127 cells(h, cols) <> rows(t, cols)