def init_words

cli@0.2.0.0 · cli.bend:7543

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

7543def init_words(words: List<&2, String>) -> List<&2, String>:
7544  match words:
7545    case Nil{}: Nil{}
7546    case word <> Nil{}: Nil{}
7547    case word <> tail: word <> init_words(tail)

Uses (2)

Used by (1)