def esc.rest

cswap-bend-cli@0.1.0.0 · json/quote.bend:21

import cswap-bend-cli@0.1.0.0/json/quote.bend as Quote
import 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)))

Uses (8)

Used by (1)