def cells
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
115def cells(+j: Json.Json, cols: List<&2, Col>) -> List<&2, String>:
116 match cols:
117 case Nil{}:
118 []
119 case Con{Col{h, p}, t}:
120 cell(path(p, j)) <> cells(j, t)