Distinct Elements of r.
http://forum.dlang.org/thread/jufggxqwzhlsmhshtnfj@forum.dlang.org?page=2 http://dpaste.dzfl.pl/7b4b37b490a7
See Implementation
Distinct Elements of r.