Coding/Haskell

[Haskell] Quick Sort

chobocho 2009. 11. 12. 00:35
quicksort []       =  []
quicksort (x:xs)  = quicksort[y | y <- xs, y < x] ++ [x] ++ quicksort[y | y <- xs, y >= x]