note
moritz
<blockquote>It'd be better to have separate functions for "reverse string" and "reverse list".</blockquote>
<p>FWIW this is exactly what Perl 6 has: [http://doc.perl6.org/List.reverse|reverse] for lists and [http://doc.perl6.org/Str.flip|flip] for strings. (And <c>invert</c> for hashes, which returns a list of <c>value => key</c> pairs).
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-616540">
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
</div></div>
989813
989860