def AaPerms.show.go
import bend-osdev-apparmor@0.1.0.0/perm.bend as Permimport Base
129# the permissions as text: the letter of each set bit, in order
130def AaPerms.show.go(bs: List<&2, Bool>, ls: List<&2, String>) -> String:
131 match bs:
132 case Nil{}:
133 ""
134 case Con{b, rest}:
135 match ls:
136 case Nil{}:
137 ""
138 case Con{l, more}:
139 String.append(Bool.pick(String, b, l, ""), AaPerms.show.go(rest, more))