Sorting algorithms/Quicksort: Difference between revisions

m
Line 5,054:
 
=={{header|Joy}}==
<syntaxhightlight lang=Joy>
<lang joy>
DEFINE qsort ==
[small] # termination condition: 0 or 1 element
Line 5,061:
[enconcat] # insert the pivot after the recursion
binrec. # recursion on the two lists
</syntaxhighlight>
</lang>
 
=={{header|jq}}==
153

edits