Sorry about that - wanted to see if a Haskell quick sort could fit into a tweet.. Turns out it can, comfortably. :)
-
-
@edwinbrady qsort :: Ord a => [a] -> [a] qsort [] = [] qsort (x:xs) = qsort [a | a <- xs, a <= x] ++ [x] ++ qsort [b | b <- xs, b > x] -
@pauldoo Hoorah! - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.