Text.AaText.of_string: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/text.bend as Text Lines 48-54 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=48&end_line=54 import Base # the codes of a string's characters def AaText.of_string(s: String) -> List<&2, U32>: match s: case SNil{}: Nil{} case SCon{c, t}: Con{Char.to_u32(c), AaText.of_string(t)} Uses (4): 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