Sorting algorithms/Quicksort: Difference between revisions
Content added Content deleted
m (→{{header|Tailspin}}: Neater expression) |
imported>Arakov |
||
Line 4,376: | Line 4,376: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA |
ELENA 6.x : |
||
<syntaxhighlight lang="elena">import extensions; |
<syntaxhighlight lang="elena">import extensions; |
||
import system'routines; |
import system'routines; |
||
Line 4,393: | Line 4,393: | ||
auto more := new ArrayList(); |
auto more := new ArrayList(); |
||
self.forEach:(item) |
self.forEach::(item) |
||
{ |
{ |
||
if (item < pivot) |
if (item < pivot) |