Text.AaText.prefix: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/text.bend as Text Lines 87-97 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=87&end_line=97 import Base # xs begins with ys def AaText.prefix(xs: List<&2, U32>, ys: List<&2, U32>) -> Bool: match xs ys: case Nil{} Nil{}: True{} case Nil{} Con{c, t}: False{} case Con{h, t} Nil{}: True{} case Con{h, t} Con{c, u}: Bool.and(U32.is_eq(h, c), AaText.prefix(t, u)) 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=Base/base.bend&name=U32.is_eq