r/programmingchallenges • • Sep 10 '11

Challenge: Hello, world!

I'm kind of interested in running xmonad and learning Haskell. Should we all tackle learning about a new programming paradigm?

9 Upvotes

21 comments sorted by

View all comments

Show parent comment

1

u/dsfox Sep 10 '11
quicksort [] = []
quicksort (x : xs) = quicksort (filter (< x) xs) ++ [x] ++ quicksort (filter (>= x) xs)