Sets.has_any: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/shared/sets.bend as Sets Lines 7-15 of bend-lint-api@0.2.0.0/shared/sets.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-api@0.2.0.0/shared/sets.bend&start_line=7&end_line=15 import Base # Whether one of `keys` is in `set`, or `found`. def has_any(keys: List<&2, String>, +set: Set(), found: Bool) -> Bool: match keys found: case _ True{}: True{} case Nil{} False{}: False{} case Con{key, rest} False{}: has_any(rest, set, has(set, key)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/sets.bend&name=has