def AaText.last
import bend-osdev-apparmor@0.1.0.0/text.bend as Textimport Base
124def AaText.last(xs: List<&2, U32>, l: U32) -> U32:
125 match xs:
126 case Nil{}:
127 l
128 case Con{h, t}:
129 AaText.last(t, h)
import bend-osdev-apparmor@0.1.0.0/text.bend as Textimport Base
124def AaText.last(xs: List<&2, U32>, l: U32) -> U32:
125 match xs:
126 case Nil{}:
127 l
128 case Con{h, t}:
129 AaText.last(t, h)