Text.AaText.subset: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/text.bend as Text Lines 159-165 of bend-osdev-apparmor@0.1.0.0/text.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/text.bend&start_line=159&end_line=165 import Base # every name of xs is one of ys def AaText.subset(xs: List<&2, List<&2, U32>>, +ys: List<&2, List<&2, U32>>) -> Bool: match xs: case Nil{}: True{} case Con{h, t}: Bool.and(AaText.member(ys, h), AaText.subset(t, ys)) 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=Bool.and 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/text.bend&name=AaText.member