Cli.join_blocks: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5629-5633 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5629&end_line=5633 import Base # Blocks apart by one blank line; the page ends with a newline. def join_blocks(blocks: List<&2, List<&2, Segment>>) -> List<&2, Segment>: match blocks: case Nil{}: Nil{} case block <> tail: List.append(&2, Segment, block, more_blocks(tail)) Uses (4): 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=cli@0.2.0.0/cli.bend&name=Segment https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=more_blocks