Cli.sample_choice: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4899-4903 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4899&end_line=4903 import Base def sample_choice(found: Maybe<&2, List<&2, String>>, attrs: List<&2, Item>) -> String: match found: case Some{head <> tail}: head case _: sample_typed(find_as(attrs)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=find_as https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=sample_typed