Cli.find_early: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3631-3636 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3631&end_line=3636 import Base def find_early(events: List<&2, ScanEvent>) -> Maybe<&2, Early>: match events: case Nil{}: None{} case HelpHit{long} <> tail: Some{EarlyHelp{long}} case VersionHit{} <> tail: Some{EarlyVersion{}} case event <> tail: find_early(tail) Uses (4): 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=cli@0.2.0.0/cli.bend&name=Early https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ScanEvent