def nfc.go
import bend-kit-unicode@0.1.0.0/unicode.bend as Unicodeimport Base
140def nfc.go(s: String, z: Nfc) -> String:
141 match s:
142 case SNil{}:
143 Nfc{+has, +st, last, pend, out} = z
144 String.reverse(nfc.flush(has, st, pend, out))
145 case SCon{Chr{+c}, t}:
146 nfc.go(t, nfc.step(z, c))