def unq.k
import bend-toon-codec@0.1.0.0/src/text.bend as Textimport Base
239def unq.k(+ek: Ek, +t: String, +r: Result<&2, &2, String, Cut>) -> Result<&2, &2, String, Cut>:
240 match ek:
241 case EkChar{u}:
242 push(u, r)
243 case EkNone{}:
244 r
245 case EkEnd{}:
246 Done{Cut{SNil{}, t}}
247 case EkErr{m}:
248 Fail{m}