def parent_pages
import cli@0.2.0.0/cli.bend as Cliimport Base
7549# The parent's page, none at the root.
7550def parent_pages(words: List<&2, String>) -> List<&2, String>:
7551 match words:
7552 case Nil{}: []
7553 case word <> Nil{}: []
7554 case word <> tail: [String.join(word <> init_words(tail), "-")]