def esc.rest
import cswap-bend-cli@0.1.0.0/json/quote.bend as Quoteimport Base
import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex
21def esc.rest(ascii: Bool, +c: U32) -> String:
22 Lex.sel.s(U32.is_lt(c, 32), uesc(c),
23 Lex.sel.s(U32.is_lt(c, 127), SCon{Chr{c}, SNil{}}, esc.high(ascii, c)))