Cli.parent_pages: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7549-7554 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7549&end_line=7554 import Base # The parent's page, none at the root. def parent_pages(words: List<&2, String>) -> List<&2, String>: match words: case Nil{}: [] case word <> Nil{}: [] case word <> tail: [String.join(word <> init_words(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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.join https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=init_words