You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(builtin): dedupe BytesView escaping and template escape writes
- BytesView Show and ToJson now share one streaming `escape_to` helper
(which prints printable ASCII as-is and renders the rest as `\xHH`),
and Show renders through a `b"..."` `<+` template
- Char/StringView non-printable `\u{...}` writes collapse into single
`<+` templates whose hole delegates to a local writer
Inline-writer holes use `\{cb => ...}` so delimiters stay paired and the
template stays readable.
Co-Authored-By: SeekMoon <seekmoon@moonbitlang.com>
0 commit comments