Cli.add_list: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 6280-6287 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=6280&end_line=6287 import Base def add_list(found: Maybe<&2, List<&2, String>>, +lists: List<&2, List<&2, String>>) -> List<&2, List<&2, String>>: match found: case None{}: lists case Some{+values}: Bool.pick(List<&2, List<&2, String>>, List.contains(~List<&2, String>, ~same_words, lists, values), lists, List.append(&2, List<&2, String>, lists, [values])) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=List.contains https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=same_words