RuleSignal.AaSigB.access_list: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/rule_signal.bend as RuleSignal Lines 83-94 of bend-osdev-apparmor@0.1.0.0/rule_signal.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/rule_signal.bend&start_line=83&end_line=94 import Base import bend-osdev-apparmor@0.1.0.0/token.bend as T import bend-osdev-apparmor@0.1.0.0/error.bend as E def AaSigB.access_list(xs: List<&2, T.AaTerm>, b: AaSigB, +src: E.AaSrc) -> Result<&2, &2, E.AaError, AaSigB>: match xs: case Nil{}: Done{b} case Con{x, rest}: match x: case T.AaTmWord{w}: do Result<&2, &2, E.AaError, AaSigB>: b2 : AaSigB <- AaSigB.perms(AaSignal.access(w), b, src) AaSigB.access_list(rest, b2, src) case _: Fail{E.AaSrc.syntax(src)} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result.bind https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaError https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaSrc https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaSrc.syntax https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_signal.bend&name=AaSigB https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_signal.bend&name=AaSigB.perms https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_signal.bend&name=AaSignal.access https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/token.bend&name=AaTerm