Text.AaText.is: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/text.bend as Text Lines 63-73 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=63&end_line=73 import Base # xs is exactly the string s def AaText.is(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{}: False{} case Con{h, t} SCon{c, u}: Bool.and(U32.is_eq(h, Char.to_u32(c)), AaText.is(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