Rule.AaRule.any_match: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/rule.bend as Rule Lines 114-120 of bend-osdev-apparmor@0.1.0.0/rule.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/rule.bend&start_line=114&end_line=120 import Base import bend-osdev-apparmor@0.1.0.0/glob.bend as G # some pattern of the list matches s def AaRule.any_match(gs: List<&2, G.AaGlob>, +s: List<&2, U32>) -> Bool: match gs: case Nil{}: False{} case Con{g, t}: Bool.or(G.AaGlob.matches(g, s), AaRule.any_match(t, s)) 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.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/glob.bend&name=AaGlob https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/glob.bend&name=AaGlob.matches