Meta:

auto tags = tags.flatMap!uniq.array ?

That's another solution. In Phobos a flatMap can be useful (just as a zip overload that accepts a function to apply on the pairs, named zipWith in haskell: http://zvon.org/other/haskell/Outputprelude/zipWith_f.html ).

Bye,
bearophile

Reply via email to