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
If I am understanding correctly, escape_unicode should be (char, fn(char))? If that is the approach, it also requires changing num:to_str_common and u*:to_str_radix to have a similar signature. That is, it seems as though a lot of the built-in functions that return ~str should instead accept a fn(char) that will be called with each resulting character.
As per FIXME (former
XXX
) inwrite_escaped_char
incore::repr
. I guessescape_unicode
could be rewritten to take a closure of typefn(char)
.The text was updated successfully, but these errors were encountered: