Rewalk.any_of: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk Lines 388-394 of bolt@1.27.0.0/src/rules/pedantic/rewalk.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/pedantic/rewalk.bend&start_line=388&end_line=394 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