def Fmt.next.open
import bend-kit-fmt@0.1.0.0/fmt.bend as Fmtimport Base
56def Fmt.next.open(t: String) -> Tok & String:
57 match t:
58 case SNil{}:
59 (TChr{'{'}, SNil{})
60 case SCon{Chr{y}, u}:
61 +c = {y : U32}
62 Fmt.next.open.if(U32.is_eq(c, 123), U32.is_eq(c, 125), Chr{c}, u)