Pretty easy to handle dups: just change to `where...
# random
r
Pretty easy to handle dups: just change to
where left  = [ y | y <- xs, y <= x ]