def sk.uni
import emerging-ezjson@1.3.0.0/src/pull.bend as Pullimport Base
import emerging-ezjson@1.3.0.0/src/lex.bend as Lex
1366# one hex digit of a skipped `\u`
1367def sk.uni(
1368 +ch: Char,
1369 tl: String,
1370 left: Nat,
1371 acc: U32,
1372 stack: List<&2, Frame>,
1373 goal: Goal,
1374 done: Bool,
1375 bad: Bool
1376) -> St:
1377 match bad:
1378 case True{}:
1379 err.st(goal)
1380 case False{}:
1381 sk.uni.go(ch, tl, left, acc, stack, goal, done, Lex.hex.ok(Char.to_u32(ch)))