I don't get it, why do I need the pipe operator for this?<p><pre><code> #(9 1 2 3 7 5 5 8 4) unique sorted
-> ( 1,2,3,4,5,7,8,9)
</code></pre>
In Objective-Smalltalk (<a href="http://objective.st" rel="nofollow">http://objective.st</a>).<p>Definitions:<p><pre><code> -unique
{
(NSOrderedSet orderedSetWithArray:self) array.
}
-sort
{
self sortedArrayUsingSelector:'compare:'.
}
</code></pre>
Why is it suddenly cool to make things so much more complicated than they need to be?