def section_rows

cli@0.2.0.0 · cli.bend:5574

import cli@0.2.0.0/cli.bend as Cli
import Base

5574def section_rows(sections: List<&2, Section>) -> List<&2, Row>:
5575  match sections:
5576    case Nil{}: Nil{}
5577    case Section{title, rows} <> tail:
5578      List.append(&2, Row, rows, section_rows(tail))

Uses (4)

Used by (1)