Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bar(n:SortedList)
- quicksort(x:List)->List
- quicksort [] = []
- quicksort (cons x xs) = quicksort(filter ((< x) xs)) ++ filter (== x) xs ++ (filter ((> x) xs))
- foo(a:List)
- bar(quicksort(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement