Cli.missing_refs: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1909-1917 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1909&end_line=1917 import Base def missing_refs(targets: List<&2, String>, +ids: List<&2, String>, +at: String) -> List<&2, Problem>: match targets: case Nil{}: Nil{} case +target <> tail: List.append(&2, Problem, when_problem(Bool.not(List.contains(~String, ~String.eq, ids, target)), BadRef{at, target}), missing_refs(tail, ids, at)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Problem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=when_problem