Text.AaText.starts: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/text.bend as Text Lines 75-85 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=75&end_line=85 import Base # xs begins with the string s def AaText.starts(xs: List<&2, U32>, s: String) -> Bool: match xs s: case Nil{} SNil{}: True{} case Nil{} SCon{c, t}: False{} case Con{h, t} SNil{}: True{} case Con{h, t} SCon{c, u}: Bool.and(U32.is_eq(h, Char.to_u32(c)), AaText.starts(t, u)) Uses (7): 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=Char.to_u32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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