XXXX redacted: Difference between revisions

Content added Content deleted
(Added Tailspin solution)
Line 983: Line 983:
Tailspin currently does not recognize grapheme clusters in character iteration, so the last example gets an X for each code point.
Tailspin currently does not recognize grapheme clusters in character iteration, so the last example gets an X for each code point.


The API design here is questionable but shows the alternatives of passing the flags inline in the string and passing the target as a named parameter. A better design would probably do both the same way.
The API design here is questionable but shows the alternatives of passing the flags inline in the string and passing the secret as a named parameter. A better design would probably do both the same way.
<lang tailspin>
<lang tailspin>
composer redact&{secret:}
composer redact&{secret:}