Cli.roff_headings: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7460-7467 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7460&end_line=7467 import Base def roff_headings(titles: List<&2, String>, +args: List<&2, Item>) -> List<&2, String>: match titles: case Nil{}: Nil{} case +title <> tail: String.concat([".SS \"", roff_text(title), "\""]) <> List.append(&2, String, roff_options(args, title), roff_headings(tail, args)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.concat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=roff_options https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=roff_text