Cli.all_in: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4441-4446 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4441&end_line=4446 import Base def all_in(xs: List<&2, String>, +ys: List<&2, String>) -> Bool: match xs: case Nil{}: True{} case head <> tail: Bool.and(List.contains(~String, ~String.eq, ys, head), all_in(tail, ys)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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