Help for this page

Select Code to Download


  1. or download this
        quicksort :: (Ord a) => [a] -> [a]  
        quicksort [] = []  
    ...
            let smallerSorted = quicksort [a | a <- xs, a <= x]  
                biggerSorted = quicksort [a | a <- xs, a > x]  
            in  smallerSorted ++ [x] ++ biggerSorted
    
  2. or download this
    sub multi_thread_sort
    {
    ...
        
        return ( @lowList, $pivot, @highList );
    }