Cli.first_bad: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2082-2088 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2082&end_line=2088 import Base def first_bad(values: List<&2, String>, +attrs: List<&2, Item>) -> Maybe<&2, Bad>: match values: case Nil{}: None{} case +head <> tail: Maybe.or(&2, Bad, bad_value(value_reason(attrs, head), head), first_bad(tail, attrs)) Uses (8): 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=Maybe.or 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=Bad 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=bad_value https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=value_reason