Eager.any_of: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/suspicious/eager.bend as Eager Lines 46-52 of bolt@1.27.0.0/src/rules/suspicious/eager.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/suspicious/eager.bend&start_line=46&end_line=52 import Base import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy # does the list hold a name the set has? def any_of(cs: List<&2, String>, +set: List<&2, String>) -> Bool: match cs: case Nil{}: False{} case Con{c, t}: Lazy.or_else(List.contains(~String, ~String.eq, set, c), _u => any_of(t, set)) 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=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 https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lazy/lazy.bend&name=or_else