def Fmt.next
import bend-kit-fmt@0.1.0.0/fmt.bend as Fmtimport Base
90def Fmt.next(s: String) -> Tok & String:
91 match s:
92 case SNil{}:
93 (TEnd{}, SNil{})
94 case SCon{Chr{x}, t}:
95 +c = {x : U32}
96 Fmt.next.pick(U32.is_eq(c, 123), U32.is_eq(c, 125), Chr{c}, t)