Newby question re quicksort
leledumbo
leledumbo_cool at yahoo.co.id
Mon Apr 27 01:30:53 EDT 2009
I think you miss something important here:
quickslop :: (Ord a) => [a] ->[a]
quickslop [] = []
quickslop (x:xs) =
quickslop [a | a <- xs, a <= x] ++ [x] ++ quickslop [b | b <- xs, b > x]
--
View this message in context: http://www.nabble.com/Newby-question-re-quicksort-tp23250159p23250345.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.
More information about the Glasgow-haskell-users
mailing list