Quote.uesc: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/json/quote.bend as Quote Lines 7-9 of cswap-bend-cli@0.1.0.0/json/quote.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/json/quote.bend&start_line=7&end_line=9 import Base # \uXXXX, lowercase hex as Python writes it. def uesc(+n: U32) -> String: "\\u" ++ SCon{hexd(((n >> 12n) .&. 15 : U32)), SCon{hexd(((n >> 8n) .&. 15 : U32)), SCon{hexd(((n >> 4n) .&. 15 : U32)), SCon{hexd((n .&. 15 : U32)), SNil{}}}}} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json/quote.bend&name=hexd