def quote.body

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

import cswap-bend-cli@0.1.0.0/json/quote.bend as Quote
import Base

37def quote.body(s: String, +ascii: Bool) -> String:
38  match s:
39    case SNil{}:
40      SNil{}
41    case SCon{Chr{c}, t}:
42      esc.char(ascii, c) ++ quote.body(t, ascii)

Uses (5)

Used by (1)