def headers

cswap-bend-cli@0.1.0.0 · fmt/shape.bend:108

import cswap-bend-cli@0.1.0.0/fmt/shape.bend as Shape
import Base

108def headers(cols: List<&2, Col>) -> List<&2, String>:
109  match cols:
110    case Nil{}:
111      []
112    case Con{Col{h, p}, t}:
113      h <> headers(t)

Uses (3)

Used by (2)