def Fmt.next

bend-kit-fmt@0.1.0.0 · fmt.bend:90

import bend-kit-fmt@0.1.0.0/fmt.bend as Fmt
import 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)

Uses (8)

Used by (2)