<?xml version="1.0" encoding="windows-1252"?>
<node id="589971" title="Smalltalk - Re: Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)" created="2006-12-14 21:31:41" updated="2006-12-14 16:31:41">
<type id="11">
note</type>
<author id="503764">
carcassonne</author>
<data>
<field name="doctext">
Here goes in Smalltalk:
&lt;p&gt;
#('one' 'two' 'three' 'four') reversed
&lt;p&gt;
Do a print-It in the workspace and it gives:
&lt;p&gt;
 #('four' 'three' 'two' 'one')
&lt;p&gt;
You put your things in an OrderedCollection and this collection has a &lt;i&gt;reversed&lt;/i&gt; message that can be sent to it.  Voilą !
&lt;p&gt;</field>
<field name="root_node">
589260</field>
<field name="parent_node">
589260</field>
</data>
</node>
