Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wtf [] = []
- wtf (x:xs) = wtf a ++ [x] ++ wtf y
- where
- a = fst b
- y = snd b
- b = partition (<x) (xs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement