Sorting algorithms/Quicksort: Difference between revisions
Content deleted Content added
→{{header|Java}}: Now works with all Comparable types |
|||
Line 456:
cat to.sort | qsort
=={{header|V}}==
[qsort
[joinparts [pivot [*list1] [*list2] : [*list1 pivot *list2]] view].
[split_on_first_element uncons [>] split&].
[small?]
[]
[split_on_first_element [list1 list2 : [list1 qsort list2 qsort joinparts]] view i]
ifte].
|