def AaText.len
import bend-osdev-apparmor@0.1.0.0/text.bend as Textimport Base
30def AaText.len(xs: List<&2, U32>) -> Nat:
31 match xs:
32 case Nil{}:
33 0n
34 case Con{h, t}:
35 1n+AaText.len(t)
import bend-osdev-apparmor@0.1.0.0/text.bend as Textimport Base
30def AaText.len(xs: List<&2, U32>) -> Nat:
31 match xs:
32 case Nil{}:
33 0n
34 case Con{h, t}:
35 1n+AaText.len(t)