Boustrophedon transform: Difference between revisions
m
→{{header|Raku}}: delete some superstitious brackets
Thundergnat (talk | contribs) m (→{{header|Raku}}: delete some superstitious brackets) |
|||
Line 225:
=={{header|Raku}}==
<syntaxhighlight lang="raku" line>sub boustrophedon-transform (@seq) { map *.tail, (
sub abbr ($_) { .chars < 41 ?? $_ !! .substr(0,20) ~ '…' ~ .substr(*-20) ~ " ({.chars} digits)" }
|