Anonymous user
Sorting algorithms/Quicksort: Difference between revisions
→{{header|Raku}}
imported>Rcmlz |
imported>Rcmlz |
||
Line 8,270:
=={{header|Raku}}==
<syntaxhighlight lang="raku" line>
#| Recursive, single-thread, random pivot, single-pass, quicksort implementation
sub quicksort(
return
my
my %prt{Order} is default([]) =
|samewith(%prt{Less}), |%prt{Same}, |samewith(%prt{More})
}
|